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

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

Issue 121743002: Renaming RMQStore to GCMStore and breaking out its interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates to documentation and test method naming Created 7 years 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.cc
diff --git a/google_apis/gcm/engine/gcm_store.cc b/google_apis/gcm/engine/gcm_store.cc
new file mode 100644
index 0000000000000000000000000000000000000000..404dc0ac6d130709d83079068aa550f35466af49
--- /dev/null
+++ b/google_apis/gcm/engine/gcm_store.cc
@@ -0,0 +1,58 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "google_apis/gcm/engine/gcm_store.h"
+
+namespace gcm {
+
+GCMStore::LoadResult::LoadResult()
+ : success(false),
+ device_android_id(0),
+ device_security_token(0),
+ next_serial_number(1LL) {}
+
+GCMStore::LoadResult::~LoadResult() {}
+
+GCMStore::GCMStore() {}
+
+GCMStore::~GCMStore() {}
+
+void GCMStore::Load(const LoadCallback& callback) {}
Nicolas Zea 2013/12/27 20:03:06 aside from the constructors, I don't think any of
fgorski 2013/12/27 22:20:39 Done.
+
+void GCMStore::Destroy(const UpdateCallback& callback) {}
+
+void GCMStore::SetDeviceCredentials(uint64 device_android_id,
+ uint64 device_security_token,
+ const UpdateCallback& callback) {}
+
+void GCMStore::AddIncomingMessage(const std::string& persistent_id,
+ const UpdateCallback& callback) {}
+
+void GCMStore::RemoveIncomingMessage(const std::string& persistent_id,
+ const UpdateCallback& callback) {}
+
+void GCMStore::RemoveIncomingMessages(const PersistentIdList& persistent_ids,
+ const UpdateCallback& callback) {}
+
+void GCMStore::AddOutgoingMessage(const std::string& persistent_id,
+ const MCSMessage& message,
+ const UpdateCallback& callback) {}
+
+void GCMStore::RemoveOutgoingMessage(const std::string& persistent_id,
+ const UpdateCallback& callback) {}
+
+void GCMStore::RemoveOutgoingMessages(const PersistentIdList& persistent_ids,
+ const UpdateCallback& callback) {}
+
+void GCMStore::SetNextSerialNumber(int64 next_serial_number,
+ const UpdateCallback& callback) {}
+
+void GCMStore::AddUserSerialNumber(const std::string& username,
+ int64 serial_number,
+ const UpdateCallback& callback) {}
+
+void GCMStore::RemoveUserSerialNumber(const std::string& username,
+ const UpdateCallback& callback) {}
+
+} // namespace gcm

Powered by Google App Engine
This is Rietveld 408576698