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

Unified Diff: webrtc/api/objc/RTCPeerConnection.mm

Issue 1799443006: Rename RTCIceConnectionStateMax to RTCIceConnectionStateCount (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes based on feedback Created 4 years, 9 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/api/objc/RTCPeerConnection.mm
diff --git a/webrtc/api/objc/RTCPeerConnection.mm b/webrtc/api/objc/RTCPeerConnection.mm
index 20a893948e90492a5c2561a830006d4826b0127a..50d05f1bc699b1aceacd76a6d8740ef31f146aa2 100644
--- a/webrtc/api/objc/RTCPeerConnection.mm
+++ b/webrtc/api/objc/RTCPeerConnection.mm
@@ -383,7 +383,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidate(
return webrtc::PeerConnectionInterface::kIceConnectionDisconnected;
case RTCIceConnectionStateClosed:
return webrtc::PeerConnectionInterface::kIceConnectionClosed;
- case RTCIceConnectionStateMax:
+ case RTCIceConnectionStateCount:
return webrtc::PeerConnectionInterface::kIceConnectionMax;
}
}
@@ -406,7 +406,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidate(
case webrtc::PeerConnectionInterface::kIceConnectionClosed:
return RTCIceConnectionStateClosed;
case webrtc::PeerConnectionInterface::kIceConnectionMax:
- return RTCIceConnectionStateMax;
+ return RTCIceConnectionStateCount;
}
}
@@ -426,8 +426,8 @@ void PeerConnectionDelegateAdapter::OnIceCandidate(
return @"DISCONNECTED";
case RTCIceConnectionStateClosed:
return @"CLOSED";
- case RTCIceConnectionStateMax:
- return @"MAX";
+ case RTCIceConnectionStateCount:
+ return @"COUNT";
}
}
« no previous file with comments | « webrtc/api/objc/RTCPeerConnection.h ('k') | webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698