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

Unified Diff: webrtc/api/peerconnectioninterface.h

Issue 2361053003: Reland of "Remove the obsolete enum webrtc::PeerConnectionInterface::IceState." (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnectionproxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/peerconnectioninterface.h
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
index a04e53e2ac935f54ed5bf0398de456285a99f106..ea056bfc98fa2a39a1935a911988e3a1be35d897 100644
--- a/webrtc/api/peerconnectioninterface.h
+++ b/webrtc/api/peerconnectioninterface.h
@@ -152,19 +152,6 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
kClosed,
};
- // TODO(bemasc): Remove IceState when callers are changed to
- // IceConnection/GatheringState.
- enum IceState {
- kIceNew,
- kIceGathering,
- kIceWaiting,
- kIceChecking,
- kIceConnected,
- kIceCompleted,
- kIceFailed,
- kIceClosed,
- };
-
enum IceGatheringState {
kIceGatheringNew,
kIceGatheringGathering,
@@ -522,14 +509,6 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
// 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() {
- RTC_NOTREACHED();
- return kIceNew;
- }
virtual IceConnectionState ice_connection_state() = 0;
virtual IceGatheringState ice_gathering_state() = 0;
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/api/peerconnectionproxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698