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

Side by Side 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 6 years, 12 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "google_apis/gcm/engine/gcm_store.h"
6
7 namespace gcm {
8
9 GCMStore::LoadResult::LoadResult()
10 : success(false),
11 device_android_id(0),
12 device_security_token(0),
13 next_serial_number(1LL) {}
14
15 GCMStore::LoadResult::~LoadResult() {}
16
17 GCMStore::GCMStore() {}
18
19 GCMStore::~GCMStore() {}
20
21 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.
22
23 void GCMStore::Destroy(const UpdateCallback& callback) {}
24
25 void GCMStore::SetDeviceCredentials(uint64 device_android_id,
26 uint64 device_security_token,
27 const UpdateCallback& callback) {}
28
29 void GCMStore::AddIncomingMessage(const std::string& persistent_id,
30 const UpdateCallback& callback) {}
31
32 void GCMStore::RemoveIncomingMessage(const std::string& persistent_id,
33 const UpdateCallback& callback) {}
34
35 void GCMStore::RemoveIncomingMessages(const PersistentIdList& persistent_ids,
36 const UpdateCallback& callback) {}
37
38 void GCMStore::AddOutgoingMessage(const std::string& persistent_id,
39 const MCSMessage& message,
40 const UpdateCallback& callback) {}
41
42 void GCMStore::RemoveOutgoingMessage(const std::string& persistent_id,
43 const UpdateCallback& callback) {}
44
45 void GCMStore::RemoveOutgoingMessages(const PersistentIdList& persistent_ids,
46 const UpdateCallback& callback) {}
47
48 void GCMStore::SetNextSerialNumber(int64 next_serial_number,
49 const UpdateCallback& callback) {}
50
51 void GCMStore::AddUserSerialNumber(const std::string& username,
52 int64 serial_number,
53 const UpdateCallback& callback) {}
54
55 void GCMStore::RemoveUserSerialNumber(const std::string& username,
56 const UpdateCallback& callback) {}
57
58 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698