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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 1012083002: Resolve new GAIA flow's infinite loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 5 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 | « no previous file | chrome/browser/chromeos/login/ui/webui_login_display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index a32ffb68d48f7ebba48f1d22d3bda68c2516951e..aa9615b1e6b1bcb1f88d2ad8ff16260567373635 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -693,7 +693,10 @@ void ExistingUserController::WhiteListCheckFailed(const std::string& email) {
ShowError(IDS_LOGIN_ERROR_WHITELIST, email);
}
- login_display_->ShowSigninUI(email);
+ if (StartupUtils::IsWebviewSigninEnabled())
+ login_display_->ShowSigninUI("");
+ else
+ login_display_->ShowSigninUI(email);
if (auth_status_consumer_) {
auth_status_consumer_->OnAuthFailure(
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698