Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: talk/app/webrtc/peerconnectionfactory.h

Issue 1151943005: Ability to specify KeyType (RSA, ECDSA) for SSLIdentity generation in libjingle (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressing ASAN, LSAN issues in unittests Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: talk/app/webrtc/peerconnectionfactory.h
diff --git a/talk/app/webrtc/peerconnectionfactory.h b/talk/app/webrtc/peerconnectionfactory.h
index d6bf03f3d1e9f4f3c08c42e2185e0b7918f605ca..a582ffc33f277608bb7850ec37b9316d0dbbbd97 100644
--- a/talk/app/webrtc/peerconnectionfactory.h
+++ b/talk/app/webrtc/peerconnectionfactory.h
@@ -34,6 +34,7 @@
#include "talk/app/webrtc/peerconnectioninterface.h"
#include "talk/session/media/channelmanager.h"
#include "webrtc/base/scoped_ptr.h"
+#include "webrtc/base/sslidentity.h"
#include "webrtc/base/thread.h"
namespace webrtc {
@@ -46,13 +47,14 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface {
options_ = options;
}
- virtual rtc::scoped_refptr<PeerConnectionInterface>
+ rtc::scoped_refptr<PeerConnectionInterface>
CreatePeerConnection(
const PeerConnectionInterface::RTCConfiguration& configuration,
const MediaConstraintsInterface* constraints,
PortAllocatorFactoryInterface* allocator_factory,
- DTLSIdentityServiceInterface* dtls_identity_service,
- PeerConnectionObserver* observer);
+ PeerConnectionObserver* observer,
+ DtlsIdentityStoreInterface* dtls_identity_store,
+ rtc::KeyType key_type = rtc::KT_DEFAULT) override;
bool Initialize();
@@ -112,7 +114,7 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface {
rtc::scoped_ptr<cricket::WebRtcVideoDecoderFactory>
video_decoder_factory_;
- rtc::scoped_ptr<webrtc::DtlsIdentityStore> dtls_identity_store_;
+ rtc::scoped_ptr<webrtc::DtlsIdentityStoreInterface> dtls_identity_store_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698