| Index: talk/app/webrtc/peerconnectionfactory.cc
|
| diff --git a/talk/app/webrtc/peerconnectionfactory.cc b/talk/app/webrtc/peerconnectionfactory.cc
|
| index 3524af7932a4f92f60da84e552f742d1a2aaa7ac..061a75a999eb33993db195b333c32d6f1117182f 100644
|
| --- a/talk/app/webrtc/peerconnectionfactory.cc
|
| +++ b/talk/app/webrtc/peerconnectionfactory.cc
|
| @@ -28,7 +28,6 @@
|
| #include "talk/app/webrtc/peerconnectionfactory.h"
|
|
|
| #include "talk/app/webrtc/audiotrack.h"
|
| -#include "talk/app/webrtc/dtlsidentityservice.h"
|
| #include "talk/app/webrtc/dtlsidentitystore.h"
|
| #include "talk/app/webrtc/localaudiosource.h"
|
| #include "talk/app/webrtc/mediastreamproxy.h"
|
| @@ -170,7 +169,7 @@ bool PeerConnectionFactory::Initialize() {
|
| }
|
|
|
| dtls_identity_store_.reset(
|
| - new DtlsIdentityStore(signaling_thread_, worker_thread_));
|
| + new DtlsIdentityStoreImpl(signaling_thread_, worker_thread_));
|
| dtls_identity_store_->Initialize();
|
|
|
| return true;
|
| @@ -205,13 +204,13 @@ PeerConnectionFactory::CreatePeerConnection(
|
| const PeerConnectionInterface::RTCConfiguration& configuration,
|
| const MediaConstraintsInterface* constraints,
|
| PortAllocatorFactoryInterface* allocator_factory,
|
| - DTLSIdentityServiceInterface* dtls_identity_service,
|
| + DtlsIdentityStoreInterface* dtls_identity_store,
|
| PeerConnectionObserver* observer) {
|
| DCHECK(signaling_thread_->IsCurrent());
|
| DCHECK(allocator_factory || default_allocator_factory_);
|
|
|
| - if (!dtls_identity_service) {
|
| - dtls_identity_service = new DtlsIdentityService(dtls_identity_store_.get());
|
| + if (!dtls_identity_store) {
|
| + dtls_identity_store = dtls_identity_store_.get();
|
| }
|
|
|
| PortAllocatorFactoryInterface* chosen_allocator_factory =
|
| @@ -224,7 +223,7 @@ PeerConnectionFactory::CreatePeerConnection(
|
| configuration,
|
| constraints,
|
| chosen_allocator_factory,
|
| - dtls_identity_service,
|
| + dtls_identity_store,
|
| observer)) {
|
| return NULL;
|
| }
|
|
|