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

Unified Diff: components/invalidation/impl/ticl_invalidation_service.cc

Issue 1380103004: Delay fetching account info until OnRefreshTokensLoaded(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix iOs Created 5 years, 2 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/invalidation/impl/ticl_invalidation_service.cc
diff --git a/components/invalidation/impl/ticl_invalidation_service.cc b/components/invalidation/impl/ticl_invalidation_service.cc
index bdfde52a8d9c08d5ef353e67870154e68b74f06f..43a9c9d526ebb249691853d22fa49c3dbcda00d5 100644
--- a/components/invalidation/impl/ticl_invalidation_service.cc
+++ b/components/invalidation/impl/ticl_invalidation_service.cc
@@ -70,6 +70,8 @@ TiclInvalidationService::TiclInvalidationService(
TiclInvalidationService::~TiclInvalidationService() {
DCHECK(CalledOnValidThread());
+ invalidator_registrar_->UpdateInvalidatorState(
+ syncer::INVALIDATOR_SHUTTING_DOWN);
settings_provider_->RemoveObserver(this);
identity_provider_->RemoveActiveAccountRefreshTokenObserver(this);
identity_provider_->RemoveObserver(this);
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | components/invalidation/public/invalidator_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698