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

Side by Side Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h" 5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 if (!target_browser) 193 if (!target_browser)
194 return; 194 return;
195 } 195 }
196 196
197 if (hash_ == profiles::kUserManagerSelectProfileTaskManager) 197 if (hash_ == profiles::kUserManagerSelectProfileTaskManager)
198 chrome::OpenTaskManager(target_browser); 198 chrome::OpenTaskManager(target_browser);
199 else if (hash_ == profiles::kUserManagerSelectProfileAboutChrome) 199 else if (hash_ == profiles::kUserManagerSelectProfileAboutChrome)
200 chrome::ShowAboutChrome(target_browser); 200 chrome::ShowAboutChrome(target_browser);
201 else if (hash_ == profiles::kUserManagerSelectProfileChromeSettings) 201 else if (hash_ == profiles::kUserManagerSelectProfileChromeSettings)
202 chrome::ShowSettings(target_browser); 202 chrome::ShowSettings(target_browser);
203 else if (hash_ == profiles::kUserManagerSelectProfileChromeMemory)
204 chrome::ShowMemory(target_browser);
205 } 203 }
206 204
207 void HandleLogRemoveUserWarningShown(const base::ListValue* args) { 205 void HandleLogRemoveUserWarningShown(const base::ListValue* args) {
208 ProfileMetrics::LogProfileDeleteUser( 206 ProfileMetrics::LogProfileDeleteUser(
209 ProfileMetrics::DELETE_PROFILE_USER_MANAGER_SHOW_WARNING); 207 ProfileMetrics::DELETE_PROFILE_USER_MANAGER_SHOW_WARNING);
210 } 208 }
211 209
212 } // namespace 210 } // namespace
213 211
214 // ProfileUpdateObserver ------------------------------------------------------ 212 // ProfileUpdateObserver ------------------------------------------------------
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 Profile* profile, Profile::CreateStatus profile_create_status) { 976 Profile* profile, Profile::CreateStatus profile_create_status) {
979 Browser* browser = chrome::FindAnyBrowser(profile, false); 977 Browser* browser = chrome::FindAnyBrowser(profile, false);
980 if (browser && browser->window()) { 978 if (browser && browser->window()) {
981 OnBrowserWindowReady(browser); 979 OnBrowserWindowReady(browser);
982 } else { 980 } else {
983 registrar_.Add(this, 981 registrar_.Add(this,
984 chrome::NOTIFICATION_BROWSER_WINDOW_READY, 982 chrome::NOTIFICATION_BROWSER_WINDOW_READY,
985 content::NotificationService::AllSources()); 983 content::NotificationService::AllSources());
986 } 984 }
987 } 985 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/memory_internals/memory_internals_ui.cc ('k') | chrome/browser/web_dev_style/js_checker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698