summaryrefslogtreecommitdiffstats
path: root/webkit/media/webmediaplayer_impl.h
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 17:01:24 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-06 17:01:24 +0000
commita5a01107d952fd1244a16727e19e5ec817c125fb (patch)
tree117907c93fe346f4dd81f8bc9ab546092fbb88e5 /webkit/media/webmediaplayer_impl.h
parent9ae5a3b24a487a39e3ef212be4c3c0994d01cf2f (diff)
downloadchromium_src-a5a01107d952fd1244a16727e19e5ec817c125fb.zip
chromium_src-a5a01107d952fd1244a16727e19e5ec817c125fb.tar.gz
chromium_src-a5a01107d952fd1244a16727e19e5ec817c125fb.tar.bz2
Add CORS-awareness to HTML5 media elements.
This CL is dead code until WebMediaPlayerClientImpl starts calling the new 2-arg load() method, but this needs to land (and roll into WebKit DEPS) before WMPCI can be updated to call this 2-arg load(). BUG=123369 Review URL: https://chromiumcodereview.appspot.com/10543007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media/webmediaplayer_impl.h')
-rw-r--r--webkit/media/webmediaplayer_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index 3b755be..7368f3a 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -110,7 +110,10 @@ class WebMediaPlayerImpl
media::MediaLog* media_log);
virtual ~WebMediaPlayerImpl();
+ // TODO(fischman): remove the single-param version once WebKit stops calling
+ // it.
virtual void load(const WebKit::WebURL& url);
+ virtual void load(const WebKit::WebURL& url, CORSMode cors_mode);
virtual void cancelLoad();
// Playback controls.