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

Unified Diff: public/platform/WebMediaRecorderHandler.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/WebMediaRecorderHandler.h
diff --git a/public/platform/WebMediaRecorderHandler.h b/public/platform/WebMediaRecorderHandler.h
new file mode 100644
index 0000000000000000000000000000000000000000..6125636ce562892ff267084f5d6cf7460e1dcac0
--- /dev/null
+++ b/public/platform/WebMediaRecorderHandler.h
@@ -0,0 +1,31 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebMediaRecorderHandler_h
+#define WebMediaRecorderHandler_h
+
+#include "WebCommon.h"
+
+namespace blink {
+
+class WebMediaRecorderHandlerClient;
+class WebMediaStream;
+class WebString;
+
+class BLINK_PLATFORM_EXPORT WebMediaRecorderHandler {
Peter Beverloo 2015/07/29 16:54:23 nit: ++comments please :)
mcasas 2015/07/30 13:20:37 Done. Classes in public/platform are seldom commen
+public:
+ virtual ~WebMediaRecorderHandler() { }
+ virtual bool canSupportMimeType(const WebString& mimeType) = 0;
+ virtual bool initialize(WebMediaRecorderHandlerClient*,
+ const WebMediaStream&,
+ const WebString& mimeType) = 0;
Peter Beverloo 2015/07/29 16:54:23 nit: Please do use argument names in the public AP
mcasas 2015/07/30 13:20:37 Done.
+ virtual bool start() = 0;
+ virtual bool start(int timeslice) = 0;
+ virtual void stop() = 0;
+ virtual void pause() = 0;
+ virtual void resume() = 0;
+};
+
+} // namespace blink
+#endif

Powered by Google App Engine
This is Rietveld 408576698