Index: chrome/browser/services/gcm/gcm_profile_service.h |
diff --git a/chrome/browser/services/gcm/gcm_profile_service.h b/chrome/browser/services/gcm/gcm_profile_service.h |
index a516d710c221b435ef35a4b3d2460d3a87abcc92..6f53ffaae45cbfaf04aa1f7050b945a4b389a903 100644 |
--- a/chrome/browser/services/gcm/gcm_profile_service.h |
+++ b/chrome/browser/services/gcm/gcm_profile_service.h |
@@ -74,6 +74,10 @@ class GCMProfileService : public BrowserContextKeyedService, |
void Initialize(scoped_ptr<GCMClientFactory> gcm_client_factory); |
+ void Start(); |
+ |
+ void Stop(); |
+ |
// Registers |sender_id| for an app. A registration ID will be returned by |
// the GCM server. |
// |app_id|: application ID. |
@@ -128,6 +132,10 @@ class GCMProfileService : public BrowserContextKeyedService, |
// the profile was signed in. |
void EnsureLoaded(); |
+ // Remove cached or persisted data when GCM service is stopped. |
+ void RemoveCachedData(); |
+ void RemovePersistedData(); |
+ |
// Checks out of GCM when the profile has been signed out. This will erase |
// all the cached and persisted data. |
void CheckOut(); |