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

Unified Diff: media/base/media_switches.cc

Issue 1824143004: Allow WebView to force MediaPlayer for unsupported containers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test. Created 4 years, 9 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
« content/renderer/render_frame_impl.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 160364365a4eca46f43388c3a7eaf3996ce369cd..4afa1139a87bdb217e5d30c3dfb8e05a38f692a2 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -29,6 +29,12 @@ const char kEnableMediaThreadForMediaPlayback[] =
// Use WebMediaPlayerImpl instead of WebMediaPlayerAndroid. This is a temporary
// switch for experimenting with unifying the Android playback pipeline.
const char kEnableUnifiedMediaPipeline[] = "enable-unified-media-pipeline";
+
+// Used in conjunction with kEnableUnifiedMediaPipeline to force the usage of
+// Android MediaPlayer instead of the unified media pipeline for URLs ending in
+// any of the extensions in the provided comma separated list.
+const char kUseMediaPlayerForExtensions[] = "use-media-player-for-extensions";
+
#endif
#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
« content/renderer/render_frame_impl.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698