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

Unified Diff: components/invalidation/gcm_invalidation_bridge.h

Issue 899353002: Unregister GCMInvalidationBridge from GCMDriver when user signs out. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | components/invalidation/gcm_invalidation_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/gcm_invalidation_bridge.h
diff --git a/components/invalidation/gcm_invalidation_bridge.h b/components/invalidation/gcm_invalidation_bridge.h
index 4f3e735078343f0ba590736592918b0b5c093daf..9f9fe42696996f062922e086176c2cb9bf1b55b6 100644
--- a/components/invalidation/gcm_invalidation_bridge.h
+++ b/components/invalidation/gcm_invalidation_bridge.h
@@ -86,6 +86,10 @@ class GCMInvalidationBridge : public gcm::GCMAppHandler,
const std::string& registration_id,
gcm::GCMClient::Result result);
+ void Unregister();
+
+ static void UnregisterFinishedNoOp(gcm::GCMClient::Result result);
+
private:
gcm::GCMDriver* const gcm_driver_;
IdentityProvider* const identity_provider_;
« no previous file with comments | « no previous file | components/invalidation/gcm_invalidation_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698