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

Unified Diff: components/signin/core/browser/account_tracker_service.h

Issue 606083002: patch from issue 473153002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix saml Created 6 years, 3 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: components/signin/core/browser/account_tracker_service.h
diff --git a/components/signin/core/browser/account_tracker_service.h b/components/signin/core/browser/account_tracker_service.h
index 68cf723d2acdc280c7baa66d02c25e24b48e2fdc..00553443ca7c47e4a15455f098b39926ff577066 100644
--- a/components/signin/core/browser/account_tracker_service.h
+++ b/components/signin/core/browser/account_tracker_service.h
@@ -79,6 +79,19 @@ class AccountTrackerService : public KeyedService,
// there are still unfininshed fetchers.
virtual bool IsAllUserInfoFetched() const;
+ // Picks the corect account_id for the specified account depending on the
+ // migration state.
+ std::string PickAccountIdForAccount(const std::string& gaia_id,
+ const std::string& email);
+ static std::string PickAccountIdForAccount(PrefService* pref_service,
+ const std::string& gaia_id,
+ const std::string& email);
+
+ // Seed the gaia id and email for the given account_id.
+ void SeedAccountInfo(const std::string& account_id,
+ const std::string& gaia,
+ const std::string& email);
+
AccountIdMigrationState GetMigrationState();
static AccountIdMigrationState GetMigrationState(PrefService* pref_service);
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | components/signin/core/browser/account_tracker_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698