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

Unified Diff: components/signin/core/browser/signin_manager.cc

Issue 1117453002: Add gaia_id to ProfileInfoCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 years, 7 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 | « components/signin/core/browser/signin_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/signin_manager.cc
diff --git a/components/signin/core/browser/signin_manager.cc b/components/signin/core/browser/signin_manager.cc
index a6548a003255dc26326839cc07e35df15e614a5b..47832649bb2cdd3a1846f6eea6caff4d725d9f73 100644
--- a/components/signin/core/browser/signin_manager.cc
+++ b/components/signin/core/browser/signin_manager.cc
@@ -360,6 +360,8 @@ void SigninManager::OnSignedIn() {
base::Time::Now().ToInternalValue());
SetAuthenticatedAccountInfo(possibly_invalid_gaia_id_,
possibly_invalid_email_);
+ const std::string gaia_id = possibly_invalid_gaia_id_;
+
possibly_invalid_account_id_.clear();
possibly_invalid_gaia_id_.clear();
possibly_invalid_email_.clear();
@@ -373,6 +375,7 @@ void SigninManager::OnSignedIn() {
password_));
client_->OnSignedIn(GetAuthenticatedAccountId(),
+ gaia_id,
GetAuthenticatedUsername(),
password_);
« no previous file with comments | « components/signin/core/browser/signin_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698