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

Side by Side Diff: webrtc/api/peerconnectionproxy.h

Issue 2680273002: Adding more comments to every header file in api/ subdirectory. (Closed)
Patch Set: Merge with master Created 3 years, 10 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 | « webrtc/api/peerconnectioninterface.h ('k') | webrtc/api/proxy.h » ('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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 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
11 #ifndef WEBRTC_API_PEERCONNECTIONPROXY_H_ 11 #ifndef WEBRTC_API_PEERCONNECTIONPROXY_H_
12 #define WEBRTC_API_PEERCONNECTIONPROXY_H_ 12 #define WEBRTC_API_PEERCONNECTIONPROXY_H_
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/api/peerconnectioninterface.h" 17 #include "webrtc/api/peerconnectioninterface.h"
18 #include "webrtc/api/proxy.h" 18 #include "webrtc/api/proxy.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 // Define proxy for PeerConnectionInterface. 22 // TODO(deadbeef): Move this to .cc file and out of api/. What threads methods
23 // are called on is an implementation detail.
23 BEGIN_SIGNALING_PROXY_MAP(PeerConnection) 24 BEGIN_SIGNALING_PROXY_MAP(PeerConnection)
24 PROXY_SIGNALING_THREAD_DESTRUCTOR() 25 PROXY_SIGNALING_THREAD_DESTRUCTOR()
25 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, local_streams) 26 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, local_streams)
26 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, remote_streams) 27 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, remote_streams)
27 PROXY_METHOD1(bool, AddStream, MediaStreamInterface*) 28 PROXY_METHOD1(bool, AddStream, MediaStreamInterface*)
28 PROXY_METHOD1(void, RemoveStream, MediaStreamInterface*) 29 PROXY_METHOD1(void, RemoveStream, MediaStreamInterface*)
29 PROXY_METHOD2(rtc::scoped_refptr<RtpSenderInterface>, 30 PROXY_METHOD2(rtc::scoped_refptr<RtpSenderInterface>,
30 AddTrack, 31 AddTrack,
31 MediaStreamTrackInterface*, 32 MediaStreamTrackInterface*,
32 std::vector<MediaStreamInterface*>) 33 std::vector<MediaStreamInterface*>)
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 PROXY_METHOD0(IceConnectionState, ice_connection_state) 104 PROXY_METHOD0(IceConnectionState, ice_connection_state)
104 PROXY_METHOD0(IceGatheringState, ice_gathering_state) 105 PROXY_METHOD0(IceGatheringState, ice_gathering_state)
105 PROXY_METHOD2(bool, StartRtcEventLog, rtc::PlatformFile, int64_t) 106 PROXY_METHOD2(bool, StartRtcEventLog, rtc::PlatformFile, int64_t)
106 PROXY_METHOD0(void, StopRtcEventLog) 107 PROXY_METHOD0(void, StopRtcEventLog)
107 PROXY_METHOD0(void, Close) 108 PROXY_METHOD0(void, Close)
108 END_PROXY_MAP() 109 END_PROXY_MAP()
109 110
110 } // namespace webrtc 111 } // namespace webrtc
111 112
112 #endif // WEBRTC_API_PEERCONNECTIONPROXY_H_ 113 #endif // WEBRTC_API_PEERCONNECTIONPROXY_H_
OLDNEW
« no previous file with comments | « webrtc/api/peerconnectioninterface.h ('k') | webrtc/api/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698