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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1373023002: RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits + Pass webkit_tests (updated global-interface-listing-expected.txt) Created 5 years, 2 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: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index cbcc89536413c32f7b4dc3adc8bb16617a7b2be1..9a510986a4def0b499533f6b873f8c8ee10367bb 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -95,6 +95,7 @@ class WebPrescientNetworking;
class WebProcessMemoryDump;
class WebPublicSuffixList;
class WebPushProvider;
+class WebRTCCertificateGenerator;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
@@ -625,7 +626,7 @@ public:
// WebRTC ----------------------------------------------------------
// Creates an WebRTCPeerConnectionHandler for RTCPeerConnection.
- // May return null if WebRTC functionality is not avaliable or out of resources.
+ // May return null if WebRTC functionality is not avaliable or if it's out of resources.
virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPeerConnectionHandlerClient*) { return nullptr; }
// Creates an WebMediaRecorderHandler to record MediaStreams.
@@ -633,6 +634,9 @@ public:
virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullptr; }
// May return null if WebRTC functionality is not avaliable or out of resources.
+ virtual WebRTCCertificateGenerator* createRTCCertificateGenerator() { return nullptr; }
+
+ // May return null if WebRTC functionality is not avaliable or out of resources.
virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterClient*) { return nullptr; }
// WebWorker ----------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698