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

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

Issue 183013007: [GCM] Stop/restart GCM when the state is forced off/on (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 | « chrome/browser/sync/profile_sync_service.cc ('k') | google_apis/gcm/engine/gcm_store_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/gcm_store.h
diff --git a/google_apis/gcm/engine/gcm_store.h b/google_apis/gcm/engine/gcm_store.h
index d725118851a3a3978e8938c382e698b890b8d082..4387042a8447cbf53d794a280cb3b135149d48c9 100644
--- a/google_apis/gcm/engine/gcm_store.h
+++ b/google_apis/gcm/engine/gcm_store.h
@@ -68,6 +68,9 @@ class GCM_EXPORT GCMStore {
// caller.
virtual void Load(const LoadCallback& callback) = 0;
+ // Close the persistent store.
+ virtual void Close() = 0;
+
// Clears the GCM store of all data.
virtual void Destroy(const UpdateCallback& callback) = 0;
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | google_apis/gcm/engine/gcm_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698