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

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

Issue 1700873002: Remove HostDesktopType from task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-25
Patch Set: Created 4 years, 10 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/cocoa/task_manager_mac.mm » ('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 7d87aa71270fac6c7590c5d727dff01ddbcbabcf..3cfb99557312157f6d5c05aafd96ef39d1ba249e 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -1557,7 +1557,7 @@ TaskManager* TaskManager::GetInstance() {
return base::Singleton<TaskManager>::get();
}
-void TaskManager::OpenAboutMemory(chrome::HostDesktopType desktop_type) {
+void TaskManager::OpenAboutMemory() {
Profile* profile = ProfileManager::GetLastUsedProfileAllowedByPolicy();
if (profile->IsGuestSession() && !g_browser_process->local_state()->
GetBoolean(prefs::kBrowserGuestModeEnabled)) {
@@ -1570,7 +1570,6 @@ void TaskManager::OpenAboutMemory(chrome::HostDesktopType desktop_type) {
chrome::NavigateParams params(
profile, GURL(chrome::kChromeUIMemoryURL), ui::PAGE_TRANSITION_LINK);
params.disposition = NEW_FOREGROUND_TAB;
- params.host_desktop_type = desktop_type;
chrome::Navigate(&params);
}
« no previous file with comments | « chrome/browser/task_manager/task_manager.h ('k') | chrome/browser/ui/cocoa/task_manager_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698