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

Unified Diff: chromeos/login/auth/authpolicy_login_helper.cc

Issue 2835473002: Chromad: Allow offline login. (Closed)
Patch Set: 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
Index: chromeos/login/auth/authpolicy_login_helper.cc
diff --git a/chromeos/login/auth/authpolicy_login_helper.cc b/chromeos/login/auth/authpolicy_login_helper.cc
index 263cb96c6c97a07f29168302f693f0c003ccb949..20d57d7d64de696a83b5754a665f05d6aef5ed79 100644
--- a/chromeos/login/auth/authpolicy_login_helper.cc
+++ b/chromeos/login/auth/authpolicy_login_helper.cc
@@ -46,11 +46,12 @@ void AuthPolicyLoginHelper::JoinAdDomain(const std::string& machine_name,
}
void AuthPolicyLoginHelper::AuthenticateUser(const std::string& username,
+ const std::string& object_guid,
const std::string& password,
AuthCallback callback) {
DCHECK(!weak_factory_.HasWeakPtrs()) << "Another operation is in progress";
chromeos::DBusThreadManager::Get()->GetAuthPolicyClient()->AuthenticateUser(
- username, GetDataReadPipe(password).get(),
+ username, object_guid, GetDataReadPipe(password).get(),
base::BindOnce(&AuthPolicyLoginHelper::OnAuthCallback,
weak_factory_.GetWeakPtr(), base::Passed(&callback)));
}

Powered by Google App Engine
This is Rietveld 408576698