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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2060353004: Blacklist once.unicornmedia.com from Spitzer playback on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « 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/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 4da30ee9fd31c40ccfd86444ba575a492f2af9f0..5eec050910148535d9dac1172cc38aba61b9284e 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -830,6 +830,12 @@ bool UseWebMediaPlayerImpl(const GURL& url) {
if (GetContentClient()->renderer()->ShouldUseMediaPlayerForURL(url))
return false;
+ // Blacklist the following domains since they are sending content that we
+ // can't identify as HLS until redirects are followed.
+ // TODO(tguibert): Remove once http://crbug.com/619729 is fixed.
+ if (url.DomainIs("once.unicornmedia.com"))
ncarter (slow) 2016/06/13 23:19:04 My gut reaction is that this is too hacky to appro
DaleCurtis 2016/06/13 23:25:47 Does your opinion change if you think of this more
+ return false;
+
// Otherwise enable WMPI if indicated via experiment or command line.
return media::IsUnifiedMediaPipelineEnabled();
}
« 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