summaryrefslogtreecommitdiffstats
path: root/google_apis/gcm/engine/gcm_store.h
diff options
context:
space:
mode:
Diffstat (limited to 'google_apis/gcm/engine/gcm_store.h')
-rw-r--r--google_apis/gcm/engine/gcm_store.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/google_apis/gcm/engine/gcm_store.h b/google_apis/gcm/engine/gcm_store.h
index 8b9891d0..ca02850 100644
--- a/google_apis/gcm/engine/gcm_store.h
+++ b/google_apis/gcm/engine/gcm_store.h
@@ -6,6 +6,7 @@
#define GOOGLE_APIS_GCM_ENGINE_GCM_STORE_H_
#include <map>
+#include <set>
#include <string>
#include <vector>
@@ -46,6 +47,7 @@ class GCM_EXPORT GCMStore {
std::map<std::string, std::string> gservices_settings;
std::string gservices_digest;
base::Time last_checkin_time;
+ std::set<std::string> last_checkin_accounts;
};
typedef std::vector<std::string> PersistentIdList;
@@ -101,7 +103,8 @@ class GCM_EXPORT GCMStore {
const UpdateCallback& callback) = 0;
// Sets last device's checkin time.
- virtual void SetLastCheckinTime(const base::Time& last_checkin_time,
+ virtual void SetLastCheckinInfo(const base::Time& time,
+ const std::set<std::string>& accounts,
const UpdateCallback& callback) = 0;
// G-service settings handling.