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

Unified Diff: content/renderer/media/peer_connection_identity_service.h

Issue 22640017: Passing NULL PeerConnectionIdentityService to Libjingle when Chrome is using openssl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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: content/renderer/media/peer_connection_identity_service.h
diff --git a/content/renderer/media/peer_connection_identity_service.h b/content/renderer/media/peer_connection_identity_service.h
index a5092e36f97a9631b1db5a2345bcfc5b350ae567..fa0b16a096c7209492e7ab126238bea4760c5891 100644
--- a/content/renderer/media/peer_connection_identity_service.h
+++ b/content/renderer/media/peer_connection_identity_service.h
@@ -19,7 +19,8 @@ namespace content {
class PeerConnectionIdentityService
: public webrtc::DTLSIdentityServiceInterface {
public:
- explicit PeerConnectionIdentityService(const GURL& origin);
+ static PeerConnectionIdentityService* Create(const GURL& origin);
+
virtual ~PeerConnectionIdentityService();
// webrtc::DTLSIdentityServiceInterface implementation.
@@ -29,6 +30,8 @@ class PeerConnectionIdentityService
webrtc::DTLSIdentityRequestObserver* observer) OVERRIDE;
private:
+ explicit PeerConnectionIdentityService(const GURL& origin);
+
void OnIdentityReady(const std::string& certificate,
const std::string& private_key);
void OnRequestFailed(int error);

Powered by Google App Engine
This is Rietveld 408576698