diff options
author | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 05:39:10 +0000 |
---|---|---|
committer | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 05:39:10 +0000 |
commit | 10faa9daa1fcae1948a40abc52403d98c03e4baf (patch) | |
tree | 3a2b9b154a29930827a8c68edb9dd6e52eec03fe /webkit/media/webmediaplayer_impl.h | |
parent | 30d2aef79952e544a7d78834333597c790efe6b9 (diff) | |
download | chromium_src-10faa9daa1fcae1948a40abc52403d98c03e4baf.zip chromium_src-10faa9daa1fcae1948a40abc52403d98c03e4baf.tar.gz chromium_src-10faa9daa1fcae1948a40abc52403d98c03e4baf.tar.bz2 |
Add support for sourceAbort() & sourceBuffered()
BUG=122903
TEST=Will be covered by LayoutTests when WebKit changes land.
Review URL: http://codereview.chromium.org/10264020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media/webmediaplayer_impl.h')
-rw-r--r-- | webkit/media/webmediaplayer_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h index 36a35c3..63a7ad5 100644 --- a/webkit/media/webmediaplayer_impl.h +++ b/webkit/media/webmediaplayer_impl.h @@ -184,11 +184,13 @@ class WebMediaPlayerImpl virtual AddIdStatus sourceAddId(const WebKit::WebString& id, const WebKit::WebString& type); virtual bool sourceRemoveId(const WebKit::WebString& id); + virtual WebKit::WebTimeRanges sourceBuffered(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 bool sourceAbort(const WebKit::WebString& id); virtual void sourceEndOfStream(EndOfStreamStatus status); virtual MediaKeyException generateKeyRequest( |