Index: talk/app/webrtc/peerconnectioninterface.h |
diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h |
index ce32b50291a7a46c061bf36aabe9d7cf8d9096b2..c71fd5929e36085f537cdace9b49497499bbac38 100644 |
--- a/talk/app/webrtc/peerconnectioninterface.h |
+++ b/talk/app/webrtc/peerconnectioninterface.h |
@@ -95,6 +95,7 @@ class WebRtcVideoEncoderFactory; |
namespace webrtc { |
class AudioDeviceModule; |
+class DtlsIdentityStoreInterface; |
class MediaConstraintsInterface; |
// MediaStream container interface. |
@@ -548,6 +549,20 @@ class PeerConnectionFactoryInterface : public rtc::RefCountInterface { |
virtual void SetOptions(const Options& options) = 0; |
+ // TODO(hbos): Temporary CreatePeerConnection function while we transition |
+ // from DTLSIdentityServiceInterface to DtlsIdentityStoreInterface. |
+ rtc::scoped_refptr<PeerConnectionInterface> |
+ CreatePeerConnection( |
+ const PeerConnectionInterface::RTCConfiguration& configuration, |
+ const MediaConstraintsInterface* constraints, |
+ PortAllocatorFactoryInterface* allocator_factory, |
+ DTLSIdentityServiceInterface* dtls_identity_service, |
+ rtc::scoped_ptr<DtlsIdentityStoreInterface> dtls_identity_store, |
+ PeerConnectionObserver* observer) { |
+ return CreatePeerConnection(configuration, constraints, allocator_factory, |
+ dtls_identity_service, observer); |
+ } |
+ |
// This method takes the ownership of |dtls_identity_service|. |
virtual rtc::scoped_refptr<PeerConnectionInterface> |
CreatePeerConnection( |