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

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

Issue 2473813002: Notify GCMAppHandlers when the store is reset, so they clear cached IDs (Closed)
Patch Set: HeartbeatScheduler to call and test RefreshHeartbeatSettings 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_unittest.cc
diff --git a/components/invalidation/impl/gcm_network_channel_unittest.cc b/components/invalidation/impl/gcm_network_channel_unittest.cc
index d8ed39eef3c9c1d2567fd348f028a8b9e5f8a413..27db3fc1a89e5149e99af8f7fae172c9f982bd91 100644
--- a/components/invalidation/impl/gcm_network_channel_unittest.cc
+++ b/components/invalidation/impl/gcm_network_channel_unittest.cc
@@ -25,8 +25,9 @@ class TestGCMNetworkChannelDelegate : public GCMNetworkChannelDelegate {
TestGCMNetworkChannelDelegate()
: register_call_count_(0) {}
- void Initialize(
- GCMNetworkChannelDelegate::ConnectionStateCallback callback) override {
+ void Initialize(GCMNetworkChannelDelegate::ConnectionStateCallback
+ connection_state_callback,
+ base::Closure store_reset_callback) override {
connection_state_callback = callback;
}

Powered by Google App Engine
This is Rietveld 408576698