| Index: chrome/common/chrome_switches.cc
|
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
|
| index 1d1e140a327d12d7e1a38ea5c1cdfc467faece4a..3f5c62421d1195422d8a1b99f43963b275472d0b 100644
|
| --- a/chrome/common/chrome_switches.cc
|
| +++ b/chrome/common/chrome_switches.cc
|
| @@ -452,6 +452,9 @@ const char kEnableInsecureQuic[] = "enable-insecure-quic";
|
| // Enables the Material Design version of chrome://downloads.
|
| const char kEnableMaterialDesignDownloads[] = "enable-md-downloads";
|
|
|
| +// Enables the Material Design version of chrome://extensions.
|
| +const char kEnableMaterialDesignExtensions[] = "enable-md-extensions";
|
| +
|
| // Enables the material design Settings feature.
|
| const char kEnableMaterialDesignSettings[] = "enable-md-settings";
|
|
|
| @@ -1323,6 +1326,11 @@ bool AboutInSettingsEnabled() {
|
| ::switches::kDisableAboutInSettings);
|
| }
|
|
|
| +bool MdExtensionsEnabled() {
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + ::switches::kEnableMaterialDesignExtensions);
|
| +}
|
| +
|
| bool MdSettingsEnabled() {
|
| return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| ::switches::kEnableMaterialDesignSettings);
|
|
|