Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: webrtc/p2p/base/transport.h

Issue 1414363002: Exposing DTLS transport state from TransportChannel. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Renaming, fixing comment. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/transport.h
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h
index dfd512fe5de611db7bde7f063ada387259a92295..21aa0d93e73a1f0324f9f9f01cc7885e902fb6a3 100644
--- a/webrtc/p2p/base/transport.h
+++ b/webrtc/p2p/base/transport.h
@@ -56,6 +56,14 @@ enum IceConnectionState {
kIceConnectionCompleted,
};
+enum DtlsTransportState {
+ DTLS_TRANSPORT_NEW = 0,
+ DTLS_TRANSPORT_CONNECTING,
+ DTLS_TRANSPORT_CONNECTED,
+ DTLS_TRANSPORT_CLOSED,
+ DTLS_TRANSPORT_FAILED,
+};
+
// TODO(deadbeef): Unify with PeerConnectionInterface::IceConnectionState
// once /talk/ and /webrtc/ are combined, and also switch to ENUM_NAME naming
// style.

Powered by Google App Engine
This is Rietveld 408576698