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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1415333002: [Media Router] Add experiment control logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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 | « chrome/common/chrome_switches.h ('k') | chrome/test/media_router/media_router_base_browsertest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 8b2b5c31e73fe34690e4d4944bcc065b45cd84f1..d6a2b010791c851346f9882e447138d9b3e5eb9a 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1340,21 +1340,6 @@ bool MdPolicyPageEnabled() {
::switches::kEnableMaterialDesignPolicyPage);
}
-bool MediaRouterEnabled() {
-#if defined(ENABLE_MEDIA_ROUTER)
-
-#if defined(OS_ANDROID)
- return true;
-#else
- return base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kEnableMediaRouter);
-#endif // defined(OS_ANDROID).
-
-#else
- return false;
-#endif // defined(ENABLE_MEDIA_ROUTER)
-}
-
bool PdfMaterialUIEnabled() {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnablePdfMaterialUI))
return true;
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/media_router/media_router_base_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698