Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 WebMediaRecorderHandlerClient_h | |
| 6 #define WebMediaRecorderHandlerClient_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 class WebMediaRecorderHandlerClient { | |
|
slightlyoff
2015/07/20 01:12:06
Same question about copyability.
mcasas
2015/07/20 19:30:26
Acknowledged.
| |
| 11 public: | |
| 12 virtual void writeData(const char* data, int length, bool lastInslice) = 0; | |
|
slightlyoff
2015/07/20 01:12:06
int for length? why not size_t?
mcasas
2015/07/20 19:30:26
Done.
| |
| 13 | |
| 14 virtual void failOutOfMemory(const WebString& message) = 0; | |
| 15 virtual void failIllegalStreamModification(const WebString& message) = 0; | |
| 16 virtual void failOtherRecordingError(const WebString& message) = 0; | |
| 17 | |
| 18 protected: | |
| 19 virtual ~WebMediaRecorderHandlerClient() { } | |
| 20 }; | |
| 21 | |
| 22 } // namespace blink | |
| 23 #endif | |
| OLD | NEW |