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

Unified Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc

Issue 1661713002: Remove the rest of HostDesktopType from c/b/ui/browser_finder.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-11
Patch Set: linux adl Created 4 years, 11 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/ui/webui/chrome_web_contents_handler.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
index fe0fafa45c405b6db3aff10fe03b2c99bf7c1038..a55d674a5272890d4307d0e1becb0a17b24a19d7 100644
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
@@ -589,7 +589,7 @@ void UserManagerScreenHandler::HandleRemoveUserWarningLoadStats(
if (!profile)
return;
- if (!chrome::FindAnyBrowser(profile, true, desktop_type_)) {
+ if (!chrome::FindAnyBrowser(profile, true)) {
// If no windows are open for that profile, the statistics in
// ProfileInfoCache are up to date. The statistics in ProfileInfoCache are
// returned because the copy in user_pod_row.js may be outdated. However, if
@@ -1014,7 +1014,7 @@ void UserManagerScreenHandler::Observe(
// cause Chrome to close.
void UserManagerScreenHandler::OnSwitchToProfileComplete(
Profile* profile, Profile::CreateStatus profile_create_status) {
- Browser* browser = chrome::FindAnyBrowser(profile, false, desktop_type_);
+ Browser* browser = chrome::FindAnyBrowser(profile, false);
if (browser && browser->window()) {
OnBrowserWindowReady(browser);
} else {
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_contents_handler.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698