Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebMediaRecorderHandler_h | |
| 6 #define WebMediaRecorderHandler_h | |
| 7 | |
| 8 #include "WebCommon.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class WebMediaRecorderHandlerClient; | |
| 13 class WebMediaStream; | |
| 14 class WebString; | |
| 15 | |
| 16 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
| |
| 17 public: | |
| 18 virtual ~WebMediaRecorderHandler() { } | |
| 19 virtual bool canSupportMimeType(const WebString& mimeType) = 0; | |
| 20 virtual bool initialize(WebMediaRecorderHandlerClient*, | |
| 21 const WebMediaStream&, | |
| 22 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.
| |
| 23 virtual bool start() = 0; | |
| 24 virtual bool start(int timeslice) = 0; | |
| 25 virtual void stop() = 0; | |
| 26 virtual void pause() = 0; | |
| 27 virtual void resume() = 0; | |
| 28 }; | |
| 29 | |
| 30 } // namespace blink | |
| 31 #endif | |
| OLD | NEW |