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

Unified Diff: chrome/browser/about_flags.cc

Issue 1248823004: Phase 3: Implement New Task Manager Flag in about:flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: flag is available only when ENABLE_TASK_MANAGER=1 Created 5 years, 5 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c124c8e24953a19bb11767c3a2d839cdbdbfa95f..8f1eca8f33712f42cd5289cce90914f698408b2b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2059,6 +2059,14 @@ const Experiment kExperiments[] = {
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters)
},
+#if defined(ENABLE_TASK_MANAGER)
+ {"enable-new-task-manager",
+ IDS_FLAGS_ENABLE_NEW_TASK_MANAGER_NAME,
+ IDS_FLAGS_ENABLE_NEW_TASK_MANAGER_DESCRIPTION,
+ kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kEnableNewTaskManager)
+ },
+#endif // defined(ENABLE_TASK_MANAGER)
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698