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

Unified Diff: public/platform/Platform.h

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index aa82c34ad3f228b6c1ba68d89694b3f43f71dc00..1eb26324388723876d0eaa8c62a8c03895766928 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -82,6 +82,8 @@ class WebGraphicsContext3DProvider;
class WebIDBFactory;
class WebMIDIAccessor;
class WebMIDIAccessorClient;
+class WebMediaRecorderHandler;
+class WebMediaRecorderHandlerClient;
Peter Beverloo 2015/07/29 16:54:23 Should the client be passed in createMediaRecorder
mcasas 2015/07/30 13:20:37 The current M.O. is: WebMediaRecorderHandler* hand
class WebMediaStreamCenter;
class WebMediaStreamCenterClient;
class WebMemoryDumpProvider;
@@ -623,10 +625,13 @@ public:
// May return null if WebRTC functionality is not avaliable or out of resources.
virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPeerConnectionHandlerClient*) { return nullptr; }
+ // Creates an WebMediaRecorderHandler to record MediaStreams.
+ // May return null if the functionality is not available or out of resources.
+ virtual WebMediaRecorderHandler* createMediaRecorderHandler() { return nullptr; }
+
// May return null if WebRTC functionality is not avaliable or out of resources.
virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterClient*) { return nullptr; }
-
// WebWorker ----------------------------------------------------------
virtual void didStartWorkerRunLoop() { }

Powered by Google App Engine
This is Rietveld 408576698