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 namespace blink { | |
| 9 | |
| 10 class WebMediaRecorderHandlerClient; | |
| 11 class WebMediaStream; | |
| 12 class WebString; | |
| 13 | |
| 14 class WebMediaRecorderHandler { | |
|
slightlyoff
2015/07/20 01:12:06
Is this class meant to be copyable? Usually Blink
mcasas
2015/07/20 19:30:26
I only see such macro used in Source/, there's no
| |
| 15 public: | |
| 16 virtual ~WebMediaRecorderHandler() { } | |
| 17 virtual bool canSupportMimeType(const WebString& mimeType) = 0; | |
| 18 virtual bool initialize(WebMediaRecorderHandlerClient*, | |
| 19 const WebMediaStream&, | |
| 20 const WebString& mimeType) = 0; | |
| 21 virtual bool start() = 0; | |
| 22 virtual bool start(int timeslice) = 0; | |
| 23 virtual void stop() = 0; | |
| 24 virtual void pause() = 0; | |
| 25 virtual void resume() = 0; | |
| 26 }; | |
| 27 | |
| 28 } // namespace blink | |
| 29 #endif | |
| OLD | NEW |