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

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

Issue 2411033006: Display local signin error without browser and record the path of selected profile in user manager … (Closed)
Patch Set: tapted's comments Created 4 years, 2 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/profile_helper.cc ('k') | chrome/browser/ui/webui/signin/signin_error_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
diff --git a/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc b/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
index 0f0acf9d1b4b3c9b3406dc7536b1b76ab2a950de..96c7a3e325d29e2af9c5a60e51f1bbcdf412dce1 100644
--- a/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
+++ b/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
@@ -423,11 +423,8 @@ void SigninCreateProfileHandler::OpenNewWindowForProfile(
}
void SigninCreateProfileHandler::OpenSigninDialogForProfile(Profile* profile) {
-// TODO(zmin): Remove the switcher once the UserManager API is finished on Mac.
-#if !defined(OS_MACOSX)
UserManager::ShowSigninDialog(web_ui()->GetWebContents()->GetBrowserContext(),
profile->GetPath());
-#endif
}
void SigninCreateProfileHandler::ShowProfileCreationError(
« no previous file with comments | « chrome/browser/ui/webui/profile_helper.cc ('k') | chrome/browser/ui/webui/signin/signin_error_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698