| OLD | NEW |
| 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> |
| 15 #include <vector> |
| 16 |
| 14 #include "webrtc/api/peerconnectioninterface.h" | 17 #include "webrtc/api/peerconnectioninterface.h" |
| 15 #include "webrtc/api/proxy.h" | 18 #include "webrtc/api/proxy.h" |
| 16 | 19 |
| 17 namespace webrtc { | 20 namespace webrtc { |
| 18 | 21 |
| 19 // Define proxy for PeerConnectionInterface. | 22 // Define proxy for PeerConnectionInterface. |
| 20 BEGIN_SIGNALING_PROXY_MAP(PeerConnection) | 23 BEGIN_SIGNALING_PROXY_MAP(PeerConnection) |
| 21 PROXY_SIGNALING_THREAD_DESTRUCTOR() | 24 PROXY_SIGNALING_THREAD_DESTRUCTOR() |
| 22 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, local_streams) | 25 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, local_streams) |
| 23 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, remote_streams) | 26 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, remote_streams) |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 PROXY_METHOD0(IceConnectionState, ice_connection_state) | 103 PROXY_METHOD0(IceConnectionState, ice_connection_state) |
| 101 PROXY_METHOD0(IceGatheringState, ice_gathering_state) | 104 PROXY_METHOD0(IceGatheringState, ice_gathering_state) |
| 102 PROXY_METHOD2(bool, StartRtcEventLog, rtc::PlatformFile, int64_t) | 105 PROXY_METHOD2(bool, StartRtcEventLog, rtc::PlatformFile, int64_t) |
| 103 PROXY_METHOD0(void, StopRtcEventLog) | 106 PROXY_METHOD0(void, StopRtcEventLog) |
| 104 PROXY_METHOD0(void, Close) | 107 PROXY_METHOD0(void, Close) |
| 105 END_PROXY_MAP() | 108 END_PROXY_MAP() |
| 106 | 109 |
| 107 } // namespace webrtc | 110 } // namespace webrtc |
| 108 | 111 |
| 109 #endif // WEBRTC_API_PEERCONNECTIONPROXY_H_ | 112 #endif // WEBRTC_API_PEERCONNECTIONPROXY_H_ |
| OLD | NEW |