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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 2835473002: Chromad: Allow offline login. (Closed)
Patch Set: Add TryAuthenticateUser call Created 3 years, 8 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/chromeos/login/screens/user_selection_screen.cc ('k') | chromeos/dbus/auth_policy_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index db8dec1d4ad2ef6ed2f24b3276b7ae68c6fddf1a..033203353a3ab950201d8232838e1146be4d6add 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -598,7 +598,7 @@ void GaiaScreenHandler::HandleCompleteAdAuthentication(
set_populated_email(username);
DCHECK(authpolicy_login_helper_);
authpolicy_login_helper_->AuthenticateUser(
- username, password,
+ username, std::string() /* object_guid */, password,
base::BindOnce(&GaiaScreenHandler::DoAdAuth, weak_factory_.GetWeakPtr(),
username, Key(password)));
}
@@ -612,7 +612,8 @@ void GaiaScreenHandler::HandleCompleteAdPasswordChange(
DCHECK(authpolicy_login_helper_);
authpolicy_login_helper_->AuthenticateUser(
- username, old_password + "\n" + new_password + "\n" + new_password,
+ username, std::string() /* object_guid */,
+ old_password + "\n" + new_password + "\n" + new_password,
base::Bind(&GaiaScreenHandler::DoAdAuth, weak_factory_.GetWeakPtr(),
username, Key(new_password)));
}
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_selection_screen.cc ('k') | chromeos/dbus/auth_policy_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698