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

Unified Diff: webkit/media/android/webmediaplayer_android.cc

Issue 10543007: Add CORS-awareness to HTML5 media elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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
« no previous file with comments | « webkit/media/android/webmediaplayer_android.h ('k') | webkit/media/buffered_data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/android/webmediaplayer_android.cc
diff --git a/webkit/media/android/webmediaplayer_android.cc b/webkit/media/android/webmediaplayer_android.cc
index faaadaf79731cebeadb3c1947b04d0003aa3bea2..a0f865effb85b63b6b3a54e09001e5719692f911 100644
--- a/webkit/media/android/webmediaplayer_android.cc
+++ b/webkit/media/android/webmediaplayer_android.cc
@@ -99,6 +99,13 @@ void WebMediaPlayerAndroid::InitIncognito(bool incognito_mode) {
}
void WebMediaPlayerAndroid::load(const WebURL& url) {
+ load(url, CORSModeUnspecified);
+}
+
+void WebMediaPlayerAndroid::load(const WebURL& url, CORSMode cors_mode) {
+ if (cors_mode != CORSModeUnspecified)
+ NOTIMPLEMENTED() << "No CORS support";
+
url_ = url;
UpdateNetworkState(WebMediaPlayer::NetworkStateLoading);
« no previous file with comments | « webkit/media/android/webmediaplayer_android.h ('k') | webkit/media/buffered_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698