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

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

Issue 1824573002: Fix some warnings in ObjC code. (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/RTCDataChannel.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 28 matching lines...) Expand all
39 - (void)dataChannelDidChangeState:(RTCDataChannel *)dataChannel; 39 - (void)dataChannelDidChangeState:(RTCDataChannel *)dataChannel;
40 40
41 /** The data channel successfully received a data buffer. */ 41 /** The data channel successfully received a data buffer. */
42 - (void)dataChannel:(RTCDataChannel *)dataChannel 42 - (void)dataChannel:(RTCDataChannel *)dataChannel
43 didReceiveMessageWithBuffer:(RTCDataBuffer *)buffer; 43 didReceiveMessageWithBuffer:(RTCDataBuffer *)buffer;
44 44
45 @optional 45 @optional
46 46
47 /** The data channel's |bufferedAmount| changed. */ 47 /** The data channel's |bufferedAmount| changed. */
48 - (void)dataChannel:(RTCDataChannel *)dataChannel 48 - (void)dataChannel:(RTCDataChannel *)dataChannel
49 didChangeBufferedAmount:(NSUInteger)amount; 49 didChangeBufferedAmount:(uint64_t)amount;
50 50
51 @end 51 @end
52 52
53 53
54 /** Represents the state of the data channel. */ 54 /** Represents the state of the data channel. */
55 typedef NS_ENUM(NSInteger, RTCDataChannelState) { 55 typedef NS_ENUM(NSInteger, RTCDataChannelState) {
56 RTCDataChannelStateConnecting, 56 RTCDataChannelStateConnecting,
57 RTCDataChannelStateOpen, 57 RTCDataChannelStateOpen,
58 RTCDataChannelStateClosing, 58 RTCDataChannelStateClosing,
59 RTCDataChannelStateClosed, 59 RTCDataChannelStateClosed,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 /** Closes the data channel. */ 112 /** Closes the data channel. */
113 - (void)close; 113 - (void)close;
114 114
115 /** Attempt to send |data| on this data channel's underlying data transport. */ 115 /** Attempt to send |data| on this data channel's underlying data transport. */
116 - (BOOL)sendData:(RTCDataBuffer *)data; 116 - (BOOL)sendData:(RTCDataBuffer *)data;
117 117
118 @end 118 @end
119 119
120 NS_ASSUME_NONNULL_END 120 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/objc/RTCDataChannel.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698