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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 2529103002: Add account_type into AccountId (Closed)
Patch Set: Created 4 years, 1 month 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: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 01e22a1e8cb597de7d63aae9984aa71d7ffc4014..aaf2c947ed8ba3f707d5e33ddecabb6eb7df3c18 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -900,6 +900,7 @@ void UserSessionManager::StoreUserContextDataBeforeProfileIsCreated() {
if (!user_context_.GetGaiaID().empty()) {
user_manager::known_user::UpdateGaiaID(user_context_.GetAccountId(),
user_context_.GetGaiaID());
+ user_manager::known_user::UpdateAccountType(user_context_.GetAccountId());
Andrew T Wilson (Slow) 2016/11/29 11:05:36 Why are you passing the account ID here as the acc
Roman Sorokin (ftl) 2016/12/02 11:13:10 GetAccountId returns AccountId class. Actually tha
}
}

Powered by Google App Engine
This is Rietveld 408576698