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

Unified Diff: components/invalidation/public/invalidator_state.h

Issue 1380103004: Delay fetching account info until OnRefreshTokensLoaded(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unregister Invalidation service correctly. 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/public/invalidator_state.h
diff --git a/components/invalidation/public/invalidator_state.h b/components/invalidation/public/invalidator_state.h
index ca99a182be096697cebdb81bfd07ab7b2695a3ae..4e03a20933de630e143627bba16fac8c0153e063 100644
--- a/components/invalidation/public/invalidator_state.h
+++ b/components/invalidation/public/invalidator_state.h
@@ -19,6 +19,9 @@ enum InvalidatorState {
// Our credentials have been rejected.
INVALIDATION_CREDENTIALS_REJECTED,
+ // Called just before shutdown so handlers can unregister themselves.
+ INVALIDATOR_SHUTTING_DOWN,
+
// Invalidations are fully working.
INVALIDATIONS_ENABLED
};

Powered by Google App Engine
This is Rietveld 408576698