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

Side by Side Diff: trunk/src/google_apis/gcm/engine/gcm_store.h

Issue 240583002: Revert 264313 "Add activity recording capability to gcm internal..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_ 5 #ifndef GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_
6 #define GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_ 6 #define GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include <google/protobuf/message_lite.h>
13
14 #include "base/basictypes.h" 12 #include "base/basictypes.h"
15 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
16 #include "base/memory/linked_ptr.h" 14 #include "base/memory/linked_ptr.h"
17 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
18 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
19 #include "base/time/time.h" 17 #include "base/time/time.h"
20 #include "google_apis/gcm/base/gcm_export.h" 18 #include "google_apis/gcm/base/gcm_export.h"
21 #include "google_apis/gcm/engine/registration_info.h" 19 #include "google_apis/gcm/engine/registration_info.h"
20 #include "google_apis/gcm/protocol/mcs.pb.h"
21
22 namespace google {
23 namespace protobuf {
24 class MessageLite;
25 } // namespace protobuf
26 } // namespace google
22 27
23 namespace gcm { 28 namespace gcm {
24 29
25 class MCSMessage; 30 class MCSMessage;
26 31
27 // A GCM data store interface. GCM Store will handle persistence portion of RMQ, 32 // A GCM data store interface. GCM Store will handle persistence portion of RMQ,
28 // as well as store device and user checkin information. 33 // as well as store device and user checkin information.
29 class GCM_EXPORT GCMStore { 34 class GCM_EXPORT GCMStore {
30 public: 35 public:
31 // Map of message id to message data for outgoing messages. 36 // Map of message id to message data for outgoing messages.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const std::string& settings_digest, 117 const std::string& settings_digest,
113 const UpdateCallback& callback) = 0; 118 const UpdateCallback& callback) = 0;
114 119
115 private: 120 private:
116 DISALLOW_COPY_AND_ASSIGN(GCMStore); 121 DISALLOW_COPY_AND_ASSIGN(GCMStore);
117 }; 122 };
118 123
119 } // namespace gcm 124 } // namespace gcm
120 125
121 #endif // GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_ 126 #endif // GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_
OLDNEW
« no previous file with comments | « trunk/src/google_apis/gcm/engine/checkin_request.h ('k') | trunk/src/google_apis/gcm/engine/mcs_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698