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

Unified Diff: components/user_manager/user_manager_base.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: components/user_manager/user_manager_base.cc
diff --git a/components/user_manager/user_manager_base.cc b/components/user_manager/user_manager_base.cc
index 2c7b3ffddaff6b26cf2afabb450f9794db72702e..eaf351bbfe63f36f8639c2b865cc9a850593af6a 100644
--- a/components/user_manager/user_manager_base.cc
+++ b/components/user_manager/user_manager_base.cc
@@ -490,7 +490,8 @@ void UserManagerBase::ParseUserList(const base::ListValue& users_list,
continue;
}
- const AccountId account_id = known_user::GetAccountId(email, std::string());
+ const AccountId account_id = known_user::GetAccountId(
+ email, std::string() /* gaia_id */, std::string() /* account_type */);
if (existing_users.find(account_id) != existing_users.end() ||
!users_set->insert(account_id).second) {
« components/user_manager/known_user.cc ('K') | « components/user_manager/known_user.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698