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

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

Issue 695553002: Account reconcilor: Use cookie store cookie changed subscription. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 6 years, 1 month 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_reconcilor.h
diff --git a/components/signin/core/browser/account_reconcilor.h b/components/signin/core/browser/account_reconcilor.h
index 7d3caf4acf4d4d87eb2365a8eb4d1d2723cd9ed8..d5df5e5416107c49ceff4d18ab5c3f26d5cac6f7 100644
--- a/components/signin/core/browser/account_reconcilor.h
+++ b/components/signin/core/browser/account_reconcilor.h
@@ -135,7 +135,7 @@ class AccountReconcilor : public KeyedService,
// Note internally that this |account_id| is added to the cookie jar.
bool MarkAccountAsAddedToCookie(const std::string& account_id);
- void OnCookieChanged(const net::CanonicalCookie* cookie);
+ void OnCookieChanged(const net::CanonicalCookie& cookie, bool removed);
// Overriden from GaiaAuthConsumer.
void OnListAccountsSuccess(const std::string& data) override;
@@ -194,7 +194,7 @@ class AccountReconcilor : public KeyedService,
std::deque<GetAccountsFromCookieCallback> get_gaia_accounts_callbacks_;
- scoped_ptr<SigninClient::CookieChangedCallbackList::Subscription>
+ scoped_ptr<SigninClient::CookieChangedSubscription>
cookie_changed_subscription_;
DISALLOW_COPY_AND_ASSIGN(AccountReconcilor);
« no previous file with comments | « components/signin/core/browser/about_signin_internals.cc ('k') | components/signin/core/browser/account_reconcilor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698