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

Side by Side Diff: public/platform/WebMediaRecorderHandlerClient.h

Issue 1227153002: WebMediaRecorder: adding abstract classes to public/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« public/platform/WebMediaRecorderHandler.h ('K') | « public/platform/WebMediaRecorderHandler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698