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

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

Issue 2785753003: Exclude building signin view controller and its delegate on ChromeOS (Closed)
Patch Set: Exclude SigninViewController on ChromeOS Created 3 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/ui/webui/signin/signin_utils.cc ('k') | chrome/browser/ui/webui/welcome_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/sync_confirmation_handler.cc
diff --git a/chrome/browser/ui/webui/signin/sync_confirmation_handler.cc b/chrome/browser/ui/webui/signin/sync_confirmation_handler.cc
index bbb199e5172f52dfd27f31abd5c36d97643f35e5..fcac3f8dc9f4c7a306a0e5d03b2d4dc2ad6c4406 100644
--- a/chrome/browser/ui/webui/signin/sync_confirmation_handler.cc
+++ b/chrome/browser/ui/webui/signin/sync_confirmation_handler.cc
@@ -71,7 +71,7 @@ void SyncConfirmationHandler::HandleUndo(const base::ListValue* args) {
SigninManagerFactory::GetForProfile(Profile::FromWebUI(web_ui()))->SignOut(
signin_metrics::ABORT_SIGNIN,
signin_metrics::SignoutDelete::IGNORE_METRIC);
- browser->CloseModalSigninWindow();
+ browser->signin_view_controller()->CloseModalSignin();
}
}
@@ -110,7 +110,7 @@ void SyncConfirmationHandler::CloseModalSigninWindow(
if (browser) {
LoginUIServiceFactory::GetForProfile(browser->profile())->
SyncConfirmationUIClosed(result);
- browser->CloseModalSigninWindow();
+ browser->signin_view_controller()->CloseModalSignin();
}
}
« no previous file with comments | « chrome/browser/ui/webui/signin/signin_utils.cc ('k') | chrome/browser/ui/webui/welcome_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698