Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 2039ce8b3420c8ffb0531121d9b3b887d36ffd67..4d9c3b280cf757355ecb9fa56c68b83d2570d763 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -1347,6 +1347,11 @@ const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
const char kDebugPrint[] = "debug-print"; |
#endif |
+#if defined(ENABLE_TASK_MANAGER) |
+// Enables the new implementation of the task manager. |
+const char kEnableNewTaskManager[] = "enable-new-task-manager"; |
+#endif // defined(ENABLE_TASK_MANAGER) |
+ |
bool AboutInSettingsEnabled() { |
return SettingsWindowEnabled() && |
!base::CommandLine::ForCurrentProcess()->HasSwitch( |
@@ -1396,6 +1401,13 @@ bool PowerOverlayEnabled() { |
} |
#endif |
+#if defined(ENABLE_TASK_MANAGER) |
+bool NewTaskManagerEnabled() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ kEnableNewTaskManager); |
+} |
+#endif // defined(ENABLE_TASK_MANAGER) |
+ |
// ----------------------------------------------------------------------------- |
// DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
// |