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

Unified Diff: components/invalidation/impl/gcm_network_channel_delegate.h

Issue 2473813002: Notify GCMAppHandlers when the store is reset, so they clear cached IDs (Closed)
Patch Set: Update Cryptauth comment Created 4 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/invalidation/impl/gcm_network_channel_delegate.h
diff --git a/components/invalidation/impl/gcm_network_channel_delegate.h b/components/invalidation/impl/gcm_network_channel_delegate.h
index 0a0356369a7183a53b144b77e1e0b443243c1fa8..218ac663f9e6b0600f71bce57ba05a344af5c836 100644
--- a/components/invalidation/impl/gcm_network_channel_delegate.h
+++ b/components/invalidation/impl/gcm_network_channel_delegate.h
@@ -34,7 +34,8 @@ class GCMNetworkChannelDelegate {
virtual ~GCMNetworkChannelDelegate() {}
- virtual void Initialize(ConnectionStateCallback callback) = 0;
+ virtual void Initialize(ConnectionStateCallback connection_state_callback,
+ base::Closure store_reset_callback) = 0;
// Request access token. Callback should be called either with access token or
// error code.
virtual void RequestToken(RequestTokenCallback callback) = 0;
« no previous file with comments | « components/invalidation/impl/gcm_network_channel.cc ('k') | components/invalidation/impl/gcm_network_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698