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

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

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/online_attempt.cc
diff --git a/chromeos/login/auth/online_attempt.cc b/chromeos/login/auth/online_attempt.cc
index b78c5cd9b30c1af36bfbe5ca79015ebb32fa71c7..dedc1133077dae294f2a7643dce57efb0ed3aecd 100644
--- a/chromeos/login/auth/online_attempt.cc
+++ b/chromeos/login/auth/online_attempt.cc
@@ -115,7 +115,7 @@ void OnlineAttempt::TryClientLogin() {
base::TimeDelta::FromMilliseconds(kClientLoginTimeoutMs));
client_fetcher_->StartClientLogin(
- attempt_->user_context.GetUserID(),
+ attempt_->user_context.GetUserID().GetUserEmail(),
attempt_->user_context.GetKey()->GetSecret(),
GaiaConstants::kSyncService,
attempt_->login_token,

Powered by Google App Engine
This is Rietveld 408576698