Chromium Code Reviews| Index: public/platform/WebMediaRecorderHandlerClient.h |
| diff --git a/public/platform/WebMediaRecorderHandlerClient.h b/public/platform/WebMediaRecorderHandlerClient.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e48ac76d602911aeeb87b99587b48ab448609d17 |
| --- /dev/null |
| +++ b/public/platform/WebMediaRecorderHandlerClient.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2014 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 WebMediaRecorderHandlerClient_h |
| +#define WebMediaRecorderHandlerClient_h |
| + |
| +namespace blink { |
| + |
| +class WebMediaRecorderHandlerClient { |
|
slightlyoff
2015/07/20 01:12:06
Same question about copyability.
mcasas
2015/07/20 19:30:26
Acknowledged.
|
| +public: |
| + 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.
|
| + |
| + virtual void failOutOfMemory(const WebString& message) = 0; |
| + virtual void failIllegalStreamModification(const WebString& message) = 0; |
| + virtual void failOtherRecordingError(const WebString& message) = 0; |
| + |
| +protected: |
| + virtual ~WebMediaRecorderHandlerClient() { } |
| +}; |
| + |
| +} // namespace blink |
| +#endif |