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

Side by Side Diff: webrtc/api/objc/RTCPeerConnection.h

Issue 1799443006: Rename RTCIceConnectionStateMax to RTCIceConnectionStateCount (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/api/objc/RTCPeerConnection.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 /** Represents the ice connection state of the peer connection. */ 39 /** Represents the ice connection state of the peer connection. */
40 typedef NS_ENUM(NSInteger, RTCIceConnectionState) { 40 typedef NS_ENUM(NSInteger, RTCIceConnectionState) {
41 RTCIceConnectionStateNew, 41 RTCIceConnectionStateNew,
42 RTCIceConnectionStateChecking, 42 RTCIceConnectionStateChecking,
43 RTCIceConnectionStateConnected, 43 RTCIceConnectionStateConnected,
44 RTCIceConnectionStateCompleted, 44 RTCIceConnectionStateCompleted,
45 RTCIceConnectionStateFailed, 45 RTCIceConnectionStateFailed,
46 RTCIceConnectionStateDisconnected, 46 RTCIceConnectionStateDisconnected,
47 RTCIceConnectionStateClosed, 47 RTCIceConnectionStateClosed,
48 RTCIceConnectionStateMax, 48 RTCIceConnectionStateCount,
tkchin_webrtc 2016/03/14 17:09:32 add a comment like: // Not an actual state, repres
hjon_webrtc 2016/03/14 17:20:28 Ah, I've wondered about this state. :-) Done.
49 }; 49 };
50 50
51 /** Represents the ice gathering state of the peer connection. */ 51 /** Represents the ice gathering state of the peer connection. */
52 typedef NS_ENUM(NSInteger, RTCIceGatheringState) { 52 typedef NS_ENUM(NSInteger, RTCIceGatheringState) {
53 RTCIceGatheringStateNew, 53 RTCIceGatheringStateNew,
54 RTCIceGatheringStateGathering, 54 RTCIceGatheringStateGathering,
55 RTCIceGatheringStateComplete, 55 RTCIceGatheringStateComplete,
56 }; 56 };
57 57
58 /** Represents the stats output level. */ 58 /** Represents the stats output level. */
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 */ 188 */
189 - (void)statsForTrack: 189 - (void)statsForTrack:
190 (nullable RTCMediaStreamTrack *)mediaStreamTrack 190 (nullable RTCMediaStreamTrack *)mediaStreamTrack
191 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel 191 statsOutputLevel:(RTCStatsOutputLevel)statsOutputLevel
192 completionHandler: 192 completionHandler:
193 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler; 193 (nullable void (^)(NSArray<RTCStatsReport *> *stats))completionHandler;
194 194
195 @end 195 @end
196 196
197 NS_ASSUME_NONNULL_END 197 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/objc/RTCPeerConnection.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698