Chromium Code Reviews| 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 d973d1cf91cbcf1d81099696068a5331b69450fc..22e8f65f67536c1b855e7dddb8b456563d69eaa7 100644 |
| --- a/components/signin/core/browser/account_tracker_service.h |
| +++ b/components/signin/core/browser/account_tracker_service.h |
| @@ -79,6 +79,18 @@ class AccountTrackerService : public KeyedService, |
| // there are still unfininshed fetchers. |
| virtual bool IsAllUserInfoFetched() const; |
| + // Picks the correct account_id for the specified account depending on the |
| + // migration state. |
| + std::string PickAccountIdForAccount(const std::string& gaia, |
| + const std::string& email); |
| + static std::string PickAccountIdForAccount(PrefService* pref_service, |
| + const std::string& gaia, |
| + const std::string& email); |
| + |
| + // Seeds the account whose account_id is given by PickAccountIdForAccount() |
| + // with its corresponding gaia id and email address. |
|
bartfab (slow)
2014/10/17 09:54:56
Nit: s/gaia id/GAIA ID/
Roger Tawa OOO till Jul 10th
2014/10/20 16:04:01
This file and the associated .cc file could use a
|
| + void SeedAccountInfo(const std::string& gaia, const std::string& email); |
| + |
| AccountIdMigrationState GetMigrationState(); |
| static AccountIdMigrationState GetMigrationState(PrefService* pref_service); |