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

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

Issue 964563002: Replace SetAuthenticatedUsername with SetAuthenticatedAccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@priv
Patch Set: rebased Created 5 years, 8 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 20249ddcb07c4dedfd110ac65548fc174a62d547..a32b766394a5af373c73aea4f69b987a52752638 100644
--- a/components/signin/core/browser/account_tracker_service.h
+++ b/components/signin/core/browser/account_tracker_service.h
@@ -115,8 +115,10 @@ class AccountTrackerService : public KeyedService,
const std::string& email);
// Seeds the account whose account_id is given by PickAccountIdForAccount()
- // with its corresponding gaia id and email address.
- void SeedAccountInfo(const std::string& gaia, const std::string& email);
+ // with its corresponding gaia id and email address. Returns the same
+ // value PickAccountIdForAccount() when given the same arguments.
+ std::string SeedAccountInfo(const std::string& gaia,
+ const std::string& email);
AccountIdMigrationState GetMigrationState();
static AccountIdMigrationState GetMigrationState(PrefService* pref_service);

Powered by Google App Engine
This is Rietveld 408576698