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

Unified Diff: media/base/media_switches.cc

Issue 2470003002: Media Remoting: Add feature to control enabling Media Remoting. (Closed)
Patch Set: Addressed xhwang's comments. Created 4 years, 1 month 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 c7e02e2c39d8637983da8a9610feabf2618e2985..0eff23ae3eb8d67498f719cf65db58e9cffbf32b 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -174,4 +174,11 @@ const base::Feature kAndroidMediaPlayerRenderer{
"android-media-player-renderer", base::FEATURE_DISABLED_BY_DEFAULT};
#endif
+#if BUILDFLAG(ENABLE_MEDIA_REMOTING)
+// Enables to renderer and play back media on remote devices when the tab is
+// being mirrored and other conditions are met.
+const base::Feature kMediaRemoting{"media-remoting",
+ base::FEATURE_ENABLED_BY_DEFAULT};
+#endif
+
} // namespace media
« 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