Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: chrome/common/chrome_switches.cc

Issue 1912773002: Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove duplicated symbol Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index b1b16bae6dcf200d499edd9de708e288ae116254..5348777237e47ae8f8e3be15522f01232532cf8c 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1248,11 +1248,6 @@ const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
const char kDebugPrint[] = "debug-print";
#endif
-#if defined(ENABLE_TASK_MANAGER)
-// Disables the new implementation of the task manager.
-const char kDisableNewTaskManager[] = "disable-new-task-manager";
-#endif // defined(ENABLE_TASK_MANAGER)
-
#if defined(ENABLE_WAYLAND_SERVER)
// Enables Wayland display server support.
const char kEnableWaylandServer[] = "enable-wayland-server";
@@ -1331,17 +1326,6 @@ bool PowerOverlayEnabled() {
}
#endif
-#if defined(ENABLE_TASK_MANAGER)
-bool NewTaskManagerEnabled() {
-#if defined(OS_MACOSX)
- return false; // The new task manager hasn't been adopted on Mac yet.
-#else
- return !base::CommandLine::ForCurrentProcess()->HasSwitch(
- kDisableNewTaskManager);
-#endif // defined(OS_MACOSX)
-}
-#endif // defined(ENABLE_TASK_MANAGER)
-
// -----------------------------------------------------------------------------
// DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
//

Powered by Google App Engine
This is Rietveld 408576698