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

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: Addressed msw@'s comments 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
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 89093a0a156540c8340530ac24eb540182b85811..bc086cfc0e2499f98bd4f0da388bfa7a73d92f24 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1359,21 +1359,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;

Powered by Google App Engine
This is Rietveld 408576698