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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 2558143002: Remove the enable_task_manager build flag and define. (Closed)
Patch Set: Includes Created 4 years 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/browser/task_manager/web_contents_tags.cc ('k') | chrome/common/extensions/api/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index d0066faf760efc4aaa917cd6b7becb1baf9fff6e..6f8d4a9f666aa97cfb3eeddd6bf816552724b0f4 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -1082,7 +1082,7 @@ void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action) {
}
bool CanOpenTaskManager() {
-#if defined(ENABLE_TASK_MANAGER)
+#if !defined(OS_ANDROID)
return true;
#else
return false;
@@ -1090,7 +1090,7 @@ bool CanOpenTaskManager() {
}
void OpenTaskManager(Browser* browser) {
-#if defined(ENABLE_TASK_MANAGER)
+#if !defined(OS_ANDROID)
content::RecordAction(UserMetricsAction("TaskManager"));
chrome::ShowTaskManager(browser);
#else
« no previous file with comments | « chrome/browser/task_manager/web_contents_tags.cc ('k') | chrome/common/extensions/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698