Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index e536eff99f58f1316f6457dca321f2e3cce8501b..8c4e6e248fe5c4fbb177881416370c59ce77162a 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -452,6 +452,9 @@ const char kEnableMaterialDesignDownloads[] = "enable-md-downloads"; |
// Enables the Material Design version of chrome://extensions. |
const char kEnableMaterialDesignExtensions[] = "enable-md-extensions"; |
+// Enables the Material Design version of chrome://policy. |
+const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page"; |
+ |
// Enables Media Router. |
const char kEnableMediaRouter[] = "enable-media-router"; |
@@ -1341,6 +1344,11 @@ bool MdExtensionsEnabled() { |
::switches::kEnableMaterialDesignExtensions); |
} |
+bool MdPolicyPageEnabled() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ ::switches::kEnableMaterialDesignPolicyPage); |
+} |
+ |
bool MediaRouterEnabled() { |
#if defined(ENABLE_MEDIA_ROUTER) |
return base::CommandLine::ForCurrentProcess()->HasSwitch( |