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

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

Issue 202083005: Add activity recording capability to gcm internals page. User can refresh, start/stop recording, an… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « google_apis/gcm/engine/checkin_request.h ('k') | google_apis/gcm/engine/mcs_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
12 #include "base/basictypes.h" 14 #include "base/basictypes.h"
13 #include "base/callback_forward.h" 15 #include "base/callback_forward.h"
14 #include "base/memory/linked_ptr.h" 16 #include "base/memory/linked_ptr.h"
15 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
17 #include "base/time/time.h" 19 #include "base/time/time.h"
18 #include "google_apis/gcm/base/gcm_export.h" 20 #include "google_apis/gcm/base/gcm_export.h"
19 #include "google_apis/gcm/engine/registration_info.h" 21 #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
27 22
28 namespace gcm { 23 namespace gcm {
29 24
30 class MCSMessage; 25 class MCSMessage;
31 26
32 // A GCM data store interface. GCM Store will handle persistence portion of RMQ, 27 // A GCM data store interface. GCM Store will handle persistence portion of RMQ,
33 // as well as store device and user checkin information. 28 // as well as store device and user checkin information.
34 class GCM_EXPORT GCMStore { 29 class GCM_EXPORT GCMStore {
35 public: 30 public:
36 // Map of message id to message data for outgoing messages. 31 // Map of message id to message data for outgoing messages.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const std::string& settings_digest, 112 const std::string& settings_digest,
118 const UpdateCallback& callback) = 0; 113 const UpdateCallback& callback) = 0;
119 114
120 private: 115 private:
121 DISALLOW_COPY_AND_ASSIGN(GCMStore); 116 DISALLOW_COPY_AND_ASSIGN(GCMStore);
122 }; 117 };
123 118
124 } // namespace gcm 119 } // namespace gcm
125 120
126 #endif // GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_ 121 #endif // GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/checkin_request.h ('k') | google_apis/gcm/engine/mcs_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698