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

Unified Diff: content/renderer/media/android/media_info_loader.cc

Issue 247573004: Always mark cross-origin as true for regular media urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/media_info_loader.cc
diff --git a/content/renderer/media/android/media_info_loader.cc b/content/renderer/media/android/media_info_loader.cc
index 8a49e04087fc11c5f4c7014fdb65f0ab21351fdc..d43ef4fcde15e9e2a9a173eb7dba1538749e99f1 100644
--- a/content/renderer/media/android/media_info_loader.cc
+++ b/content/renderer/media/android/media_info_loader.cc
@@ -30,7 +30,10 @@ MediaInfoLoader::MediaInfoLoader(
: loader_failed_(false),
url_(url),
cors_mode_(cors_mode),
- single_origin_(true),
+ // TODO(qinmin): The url might be redirected when android media player
+ // requests the stream. As a result, we cannot guarantee there is only
+ // a single origin. Set this back to true when b/12573548 is fixed.
scherkus (not reviewing) 2014/04/24 17:18:33 can we link to the crbug.com as well?
qinmin 2014/04/24 17:40:51 Done.
+ single_origin_(false),
ready_cb_(ready_cb) {}
MediaInfoLoader::~MediaInfoLoader() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698