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

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: 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_unittest.cc
diff --git a/components/invalidation/impl/gcm_network_channel_unittest.cc b/components/invalidation/impl/gcm_network_channel_unittest.cc
index d8ed39eef3c9c1d2567fd348f028a8b9e5f8a413..551bc3b1b0b4e1776c18ac6ae67c5157980f05e0 100644
--- a/components/invalidation/impl/gcm_network_channel_unittest.cc
+++ b/components/invalidation/impl/gcm_network_channel_unittest.cc
@@ -25,9 +25,9 @@ class TestGCMNetworkChannelDelegate : public GCMNetworkChannelDelegate {
TestGCMNetworkChannelDelegate()
: register_call_count_(0) {}
- void Initialize(
- GCMNetworkChannelDelegate::ConnectionStateCallback callback) override {
- connection_state_callback = callback;
+ void Initialize(ConnectionStateCallback connection_state_callback,
+ base::Closure store_reset_callback) override {
+ this->connection_state_callback = connection_state_callback;
}
void RequestToken(RequestTokenCallback callback) override {

Powered by Google App Engine
This is Rietveld 408576698