Chromium Code Reviews| Index: chrome/common/chrome_switches.cc |
| diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
| index 2039ce8b3420c8ffb0531121d9b3b887d36ffd67..be4a4a96b10b8f62b4e39bd3581fdc1adaf5b276 100644 |
| --- a/chrome/common/chrome_switches.cc |
| +++ b/chrome/common/chrome_switches.cc |
| @@ -472,6 +472,9 @@ const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
| // Enables the new bookmark app system. |
| const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; |
| +// Enables the new implementation of the task manager. |
| +const char kEnableNewTaskManager[] = "enable-new-task-manager"; |
| + |
| // Enable auto-reload of error pages if offline. |
| const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| @@ -1368,6 +1371,13 @@ bool MediaRouterEnabled() { |
| ::switches::kEnableMediaRouter); |
| } |
| +bool NewTaskManagerEnabled() { |
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnableNewTaskManager)) |
|
Lei Zhang
2015/07/21 21:28:54
Since you are not doing anything fancy, just:
ret
afakhry
2015/07/21 22:16:12
Done.
|
| + return true; |
| + |
| + return false; |
| +} |
| + |
| bool PdfMaterialUIEnabled() { |
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnablePdfMaterialUI)) |
| return true; |