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

Unified Diff: chrome/browser/services/gcm/gcm_profile_service.h

Issue 162233002: [GCM] Remove all persisted data and close connections when signing out of a profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land 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
« no previous file with comments | « no previous file | chrome/browser/services/gcm/gcm_profile_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 03d26ac8bf4ee920c443383bd751c423bd89d452..633a6e8c7356953d3f57ef91c964a75b60e4cec7 100644
--- a/chrome/browser/services/gcm/gcm_profile_service.h
+++ b/chrome/browser/services/gcm/gcm_profile_service.h
@@ -161,6 +161,10 @@ class GCMProfileService : public BrowserContextKeyedService,
// Returns the event router to fire the event for the given app.
GCMEventRouter* GetEventRouter(const std::string& app_id) const;
+ // Used to persist the IDs of registered apps.
+ void ReadRegisteredAppIDs();
+ void WriteRegisteredAppIDs();
+
// Used to persist registration info into the app's state store.
void DeleteRegistrationInfo(const std::string& app_id);
void WriteRegistrationInfo(const std::string& app_id);
« no previous file with comments | « no previous file | chrome/browser/services/gcm/gcm_profile_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698