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

Unified Diff: google_apis/gcm/engine/mcs_client.h

Issue 165993005: [GCM] Make sure GCM checkout logic is invoked when the profile is signed out (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test Created 6 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
Index: google_apis/gcm/engine/mcs_client.h
diff --git a/google_apis/gcm/engine/mcs_client.h b/google_apis/gcm/engine/mcs_client.h
index a81643bf9b9e10ab848fd6f6887e828fcf225365..f25456615d01424d1fe17eb36cd71a79ce08f31c 100644
--- a/google_apis/gcm/engine/mcs_client.h
+++ b/google_apis/gcm/engine/mcs_client.h
@@ -122,13 +122,6 @@ class GCM_EXPORT MCSClient {
// |message_sent_callback_| is invoked with a TTL expiration error.
virtual void SendMessage(const MCSMessage& message);
- // Disconnects the client and permanently destroys the persistent GCM store.
- // WARNING: This is permanent, and the client must be recreated with new
- // credentials afterwards.
- // TODO(jianli): destroying the persistent GCM store should be moved to
- // GCMClient.
- void Destroy();
-
// Returns the current state of the client.
State state() const { return state_; }

Powered by Google App Engine
This is Rietveld 408576698