Index: webrtc/api/peerconnectioninterface.h |
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h |
index 8f40a55f92435a86be0df1f818800b722d6a5a8e..fdf9cef51ec2a2a8b419227522d085a36b2c4ad2 100644 |
--- a/webrtc/api/peerconnectioninterface.h |
+++ b/webrtc/api/peerconnectioninterface.h |
@@ -149,6 +149,19 @@ |
kHaveRemoteOffer, |
kHaveRemotePrAnswer, |
kClosed, |
+ }; |
+ |
+ // TODO(bemasc): Remove IceState when callers are changed to |
+ // IceConnection/GatheringState. |
+ enum IceState { |
+ kIceNew, |
+ kIceGathering, |
+ kIceWaiting, |
+ kIceChecking, |
+ kIceConnected, |
+ kIceCompleted, |
+ kIceFailed, |
+ kIceClosed, |
}; |
enum IceGatheringState { |
@@ -474,6 +487,10 @@ |
// Returns the current SignalingState. |
virtual SignalingState signaling_state() = 0; |
+ // TODO(bemasc): Remove ice_state when callers are changed to |
+ // IceConnection/GatheringState. |
+ // Returns the current IceState. |
+ virtual IceState ice_state() = 0; |
virtual IceConnectionState ice_connection_state() = 0; |
virtual IceGatheringState ice_gathering_state() = 0; |