Chromium Code Reviews| Index: webrtc/api/peerconnectionfactoryproxy.h |
| diff --git a/webrtc/api/peerconnectionfactoryproxy.h b/webrtc/api/peerconnectionfactoryproxy.h |
| index a9aa91cc0df7c0211b8766449594142193ee6f5c..d83c3004068bcbd38cf8c7158505fef18200247a 100644 |
| --- a/webrtc/api/peerconnectionfactoryproxy.h |
| +++ b/webrtc/api/peerconnectionfactoryproxy.h |
| @@ -34,13 +34,28 @@ BEGIN_PROXY_MAP(PeerConnectionFactory) |
| rtc::Bind(&PeerConnectionFactoryProxy::CreatePeerConnection_ot, this, |
| a1, a2, a3.release(), a4.release(), a5)); |
| } |
| + rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( |
| + const PeerConnectionInterface::RTCConfiguration& a1, |
| + rtc::scoped_ptr<cricket::PortAllocator> a3, |
| + rtc::scoped_ptr<DtlsIdentityStoreInterface> a4, |
| + PeerConnectionObserver* a5) override { |
| + return owner_thread_->Invoke<rtc::scoped_refptr<PeerConnectionInterface>>( |
| + rtc::Bind(&PeerConnectionFactoryProxy::CreatePeerConnection_ot, this, |
| + a1, a3.release(), a4.release(), a5)); |
| + } |
| PROXY_METHOD1(rtc::scoped_refptr<MediaStreamInterface>, |
| CreateLocalMediaStream, const std::string&) |
| PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, |
| CreateAudioSource, const MediaConstraintsInterface*) |
| + PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, |
| + CreateAudioSource, |
| + const cricket::AudioOptions&) |
| PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, |
| CreateVideoSource, cricket::VideoCapturer*, |
| const MediaConstraintsInterface*) |
| + PROXY_METHOD1(rtc::scoped_refptr<VideoSourceInterface>, |
| + CreateVideoSource, |
| + cricket::VideoCapturer*) |
| PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, |
| CreateVideoTrack, const std::string&, VideoSourceInterface*) |
| PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, |
| @@ -62,7 +77,18 @@ BEGIN_PROXY_MAP(PeerConnectionFactory) |
| return c_->CreatePeerConnection(a1, a2, std::move(ptr_a3), |
| std::move(ptr_a4), a5); |
| } |
| -END_PROXY() |
| + |
| + rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( |
| + const PeerConnectionInterface::RTCConfiguration& a1, |
| + cricket::PortAllocator* a3, |
|
perkj_webrtc
2016/02/23 11:40:18
a2, a3 ....
|
| + DtlsIdentityStoreInterface* a4, |
| + PeerConnectionObserver* a5) { |
| + rtc::scoped_ptr<cricket::PortAllocator> ptr_a3(a3); |
| + rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); |
| + return c_->CreatePeerConnection(a1, std::move(ptr_a3), std::move(ptr_a4), |
| + a5); |
| + } |
| + END_PROXY() |
| } // namespace webrtc |