Chromium Code Reviews| Index: talk/app/webrtc/peerconnectionfactory.h |
| diff --git a/talk/app/webrtc/peerconnectionfactory.h b/talk/app/webrtc/peerconnectionfactory.h |
| index c5855f452b76cc4be2be35d3e6e7c91c5d0d2ef6..f6c4a179d3c965b40a84d35a0416a562dde8e43f 100644 |
| --- a/talk/app/webrtc/peerconnectionfactory.h |
| +++ b/talk/app/webrtc/peerconnectionfactory.h |
| @@ -58,6 +58,14 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface { |
| rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, |
| PeerConnectionObserver* observer) override; |
| + virtual rtc::scoped_refptr<PeerConnectionInterface> |
| + CreatePeerConnection( |
| + const PeerConnectionInterface::RTCConfiguration& configuration, |
| + const MediaConstraintsInterface* constraints, |
| + PortAllocatorFactoryInterface* allocator_factory, |
| + const rtc::scoped_refptr<DtlsCertificate>& certificate, |
|
tommi (sloooow) - chröme
2015/08/18 14:49:35
should the certificate be passed in here? I was ex
|
| + PeerConnectionObserver* observer) override; |
| + |
| bool Initialize(); |
| rtc::scoped_refptr<MediaStreamInterface> |
| @@ -96,6 +104,9 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface { |
| virtual ~PeerConnectionFactory(); |
| private: |
| + // CreatePeerConnection helper function. |
| + PortAllocatorFactoryInterface* CreatePeerConnectionChooseAllocatorFactory( |
| + PortAllocatorFactoryInterface* allocator_factory); |
| cricket::MediaEngineInterface* CreateMediaEngine_w(); |
| bool owns_ptrs_; |