summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorddoman <ddoman@chromium.org>2016-03-16 22:03:42 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-17 05:05:10 +0000
commit61ec142f0ff743e3f98a1e4ad7ea9d3baa42d75b (patch)
tree72cbbf9e32b2f935a84b933a42aa1202f4b9ad0b /chrome/common/chrome_switches.cc
parentcbdd98ca3f0505261dae07b239031d291739d0c6 (diff)
downloadchromium_src-61ec142f0ff743e3f98a1e4ad7ea9d3baa42d75b.zip
chromium_src-61ec142f0ff743e3f98a1e4ad7ea9d3baa42d75b.tar.gz
chromium_src-61ec142f0ff743e3f98a1e4ad7ea9d3baa42d75b.tar.bz2
Convert --enable-md-history to a feature flag.
The Material Design history flag (#enable-md-history) uses the old-style UI with only an enable/disable button. It should have a drop-down with "Default", "Enable", "Disable" like all new feature flags. BUG=586340 Review URL: https://codereview.chromium.org/1766273002 Cr-Commit-Position: refs/heads/master@{#381662}
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index fd0af20..75be4b6 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -426,9 +426,6 @@ const char kEnableFastUnload[] = "enable-fast-unload";
// Enables the Material Design version of chrome://extensions.
const char kEnableMaterialDesignExtensions[] = "enable-md-extensions";
-// Enables the Material Design version of chrome://history.
-const char kEnableMaterialDesignHistory[] = "enable-md-history";
-
// Enables the Material Design policy page at chrome://md-policy.
const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page";
@@ -1349,11 +1346,6 @@ bool MdExtensionsEnabled() {
::switches::kEnableMaterialDesignExtensions);
}
-bool MdHistoryEnabled() {
- return base::CommandLine::ForCurrentProcess()->HasSwitch(
- ::switches::kEnableMaterialDesignHistory);
-}
-
bool MdPolicyPageEnabled() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kEnableMaterialDesignPolicyPage);