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

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

Issue 148293002: [GCM] Add basic collapse key support for upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 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 | google_apis/gcm/engine/gcm_store_impl.h » ('j') | google_apis/gcm/engine/gcm_store_impl.cc » ('J')
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 ed979499099e404d128f68f2382fbc7a9765c379..d725118851a3a3978e8938c382e698b890b8d082 100644
--- a/google_apis/gcm/engine/gcm_store.h
+++ b/google_apis/gcm/engine/gcm_store.h
@@ -91,6 +91,9 @@ class GCM_EXPORT GCMStore {
virtual bool AddOutgoingMessage(const std::string& persistent_id,
const MCSMessage& message,
const UpdateCallback& callback) = 0;
+ virtual void OverwriteOutgoingMessage(const std::string& persistent_id,
+ const MCSMessage& message,
+ const UpdateCallback& callback) = 0;
virtual void RemoveOutgoingMessage(const std::string& persistent_id,
const UpdateCallback& callback) = 0;
virtual void RemoveOutgoingMessages(const PersistentIdList& persistent_ids,
« no previous file with comments | « no previous file | google_apis/gcm/engine/gcm_store_impl.h » ('j') | google_apis/gcm/engine/gcm_store_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698