Index: components/signin/core/browser/account_reconcilor.h |
diff --git a/components/signin/core/browser/account_reconcilor.h b/components/signin/core/browser/account_reconcilor.h |
index 4850c42f19d1240123fe7162df1aceb20c363a1e..b5a3e37f5d0bc8a7416ee8fa7997de6d6379ffa3 100644 |
--- a/components/signin/core/browser/account_reconcilor.h |
+++ b/components/signin/core/browser/account_reconcilor.h |
@@ -121,6 +121,8 @@ class AccountReconcilor : public KeyedService, |
FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, StartReconcileNoopWithDots); |
FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, StartReconcileNoopMultiple); |
FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, StartReconcileAddToCookie); |
+ FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, |
+ StartReconcileAddToCookieTwice); |
FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, StartReconcileAddToChrome); |
FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, StartReconcileBadPrimary); |
FRIEND_TEST_ALL_PREFIXES(AccountReconcilorTest, StartReconcileOnlyOnce); |
@@ -172,6 +174,10 @@ class AccountReconcilor : public KeyedService, |
const GoogleServiceAuthError& error, |
const std::vector<std::pair<std::string, bool> >& accounts); |
void ValidateAccountsFromTokenService(); |
+ // Note internally that this |account_id| is added to the cookie jar. |
+ void MarkAccountAsAddedToCookie(const std::string& account_id); |
+ // Note internally that this |account_id| is added to the token service. |
+ void MarkAccountAsAddedToChrome(const std::string& account_id); |
void OnCookieChanged(const net::CanonicalCookie* cookie); |