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

Unified Diff: webkit/media/webmediaplayer_impl.h

Issue 10066019: Implement sourceAddId() & sourceRemoveId() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: webkit/media/webmediaplayer_impl.h
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index fc803a37211cf8a813d200b45581ae812a9e4539..f27e1077d88217df769b4d8c57b5d4db7f638c64 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -181,7 +181,14 @@ class WebMediaPlayerImpl
virtual WebKit::WebAudioSourceProvider* audioSourceProvider();
+ virtual AddIdStatus sourceAddId(const WebKit::WebString& id,
+ const WebKit::WebString& type);
+ virtual void sourceRemoveId(const WebKit::WebString& id);
+ // TODO(acolwell): Remove non-id version when http://webk.it/83788 fix lands.
virtual bool sourceAppend(const unsigned char* data, unsigned length);
+ virtual bool sourceAppend(const WebKit::WebString& id,
+ const unsigned char* data,
+ unsigned length);
virtual void sourceEndOfStream(EndOfStreamStatus status);
// As we are closing the tab or even the browser, |main_loop_| is destroyed

Powered by Google App Engine
This is Rietveld 408576698