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 62b78039d1190395a8ebde0ca9360a8be2b604a1..26d4f5aeb96e78dcb2b1256c4a47f7d43a38f33a 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); |