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

Unified Diff: media/base/media_switches.cc

Issue 2873983002: Add --enable-internal-media-session to trigger the MediaSession backend. (Closed)
Patch Set: rebase Created 3 years, 7 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 | « 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 7a13243900e84c2b0ca1d8ea0f288b1dad5c1483..45d9eae23de48a80413f221aa90e4185f485e2a2 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -156,6 +156,12 @@ const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit";
const char kIgnoreAutoplayRestrictionsForTests[] =
"ignore-autoplay-restrictions";
+#if !defined(OS_ANDROID)
+// Turns on the internal media session backend. This should be used by embedders
+// that want to control the media playback with the media session interfaces.
+const char kEnableInternalMediaSession[] = "enable-internal-media-session";
+#endif // !defined(OS_ANDROID)
+
namespace autoplay {
// Autoplay policy that does not require any user gesture.
« no previous file with comments | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698