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

Unified Diff: google_apis/gcm/engine/gcm_store_impl.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: 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/gcm_store_impl.h
diff --git a/google_apis/gcm/engine/gcm_store_impl.h b/google_apis/gcm/engine/gcm_store_impl.h
index b8550dabe179165cf5bd037a8fd9b6f0729d16c2..88ed164c7da74666dbe68be0d347b19d1cfd0857 100644
--- a/google_apis/gcm/engine/gcm_store_impl.h
+++ b/google_apis/gcm/engine/gcm_store_impl.h
@@ -31,6 +31,9 @@ class GCM_EXPORT GCMStoreImpl : public GCMStore {
// Load the directory and pass the initial state back to caller.
virtual void Load(const LoadCallback& callback) OVERRIDE;
+ // Closes the GCM store.
+ virtual void Close() OVERRIDE;
fgorski 2014/03/04 20:07:49 Seems like Load/Unload or Open/Close would be a be
jianli 2014/03/04 20:52:26 Open means that the store is just opened for readi
+
// Clears the GCM store of all data and destroys any LevelDB files associated
// with this store.
// WARNING: this will permanently destroy any pending outgoing messages

Powered by Google App Engine
This is Rietveld 408576698