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

Unified Diff: chrome/browser/task_manager/task_manager.cc

Issue 1722493002: Project Eraser: Kill chrome://memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome_browser_ui.gypi. Created 4 years, 9 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/browser/task_manager/task_manager.h ('k') | chrome/browser/ui/chrome_pages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/task_manager.cc
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc
index 3634a4d00298ab72204ea84f31a80aa7edc8aae8..f179f70a994626b5e07cb31ef31ebdd9dfcce010 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -1563,22 +1563,6 @@ TaskManager* TaskManager::GetInstance() {
return base::Singleton<TaskManager>::get();
}
-void TaskManager::OpenAboutMemory() {
- Profile* profile = ProfileManager::GetLastUsedProfileAllowedByPolicy();
- if (profile->IsGuestSession() && !g_browser_process->local_state()->
- GetBoolean(prefs::kBrowserGuestModeEnabled)) {
- UserManager::Show(base::FilePath(),
- profiles::USER_MANAGER_NO_TUTORIAL,
- profiles::USER_MANAGER_SELECT_PROFILE_CHROME_MEMORY);
- return;
- }
-
- chrome::NavigateParams params(
- profile, GURL(chrome::kChromeUIMemoryURL), ui::PAGE_TRANSITION_LINK);
- params.disposition = NEW_FOREGROUND_TAB;
- chrome::Navigate(&params);
-}
-
TaskManager::TaskManager()
: model_(new TaskManagerModel(this)) {
}
« no previous file with comments | « chrome/browser/task_manager/task_manager.h ('k') | chrome/browser/ui/chrome_pages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698