summaryrefslogtreecommitdiffstats
path: root/webkit/media/webmediaplayer_impl.h
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-23 23:46:36 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-23 23:46:36 +0000
commit35c83a09965168db7670efb4803554c0bdc8187f (patch)
tree47cd6abc50b5ff74c1dfd267f94c8f3def09fc49 /webkit/media/webmediaplayer_impl.h
parenta9a0b71dc445677a21bf2ff3e7658b1c878de9a2 (diff)
downloadchromium_src-35c83a09965168db7670efb4803554c0bdc8187f.zip
chromium_src-35c83a09965168db7670efb4803554c0bdc8187f.tar.gz
chromium_src-35c83a09965168db7670efb4803554c0bdc8187f.tar.bz2
Implement sourceAddId() & sourceRemoveId()
BUG=122897 TEST=Covered by LayoutTests Review URL: http://codereview.chromium.org/10164017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media/webmediaplayer_impl.h')
-rw-r--r--webkit/media/webmediaplayer_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index ae1e889..83c2c0d 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 bool 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);
virtual MediaKeyException generateKeyRequest(