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

Unified Diff: public/platform/WebMediaRecorderHandler.h

Issue 1227153002: WebMediaRecorder: adding abstract classes to public/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: slightlyoff@ comments 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
« no previous file with comments | « no previous file | public/platform/WebMediaRecorderHandlerClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebMediaRecorderHandler.h
diff --git a/public/platform/WebMediaRecorderHandler.h b/public/platform/WebMediaRecorderHandler.h
new file mode 100644
index 0000000000000000000000000000000000000000..427199e6e5ff2e35150110a699e356939f8d6e44
--- /dev/null
+++ b/public/platform/WebMediaRecorderHandler.h
@@ -0,0 +1,29 @@
+// 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
+
+namespace blink {
+
+class WebMediaRecorderHandlerClient;
+class WebMediaStream;
+class WebString;
+
+class WebMediaRecorderHandler {
+public:
+ virtual ~WebMediaRecorderHandler() { }
+ virtual bool canSupportMimeType(const WebString& mimeType) = 0;
+ virtual bool initialize(WebMediaRecorderHandlerClient*,
+ const WebMediaStream&,
+ const WebString& mimeType) = 0;
+ 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
« no previous file with comments | « no previous file | public/platform/WebMediaRecorderHandlerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698