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

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

Issue 378643002: [GCM] Check-in with signed in accounts associates device to user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compilation issue on android Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: google_apis/gcm/engine/gcm_store.h
diff --git a/google_apis/gcm/engine/gcm_store.h b/google_apis/gcm/engine/gcm_store.h
index 8b9891d0ecc2b1afe11c67bb2cf31e9ddbec9b72..2046998a779930dc3c9764644e3019ffac0ae1f6 100644
--- a/google_apis/gcm/engine/gcm_store.h
+++ b/google_apis/gcm/engine/gcm_store.h
@@ -46,6 +46,7 @@ class GCM_EXPORT GCMStore {
std::map<std::string, std::string> gservices_settings;
std::string gservices_digest;
base::Time last_checkin_time;
+ uint64 accounts_count;
};
typedef std::vector<std::string> PersistentIdList;
@@ -101,7 +102,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& last_checkin_time,
+ uint64 accounts_count,
const UpdateCallback& callback) = 0;
// G-service settings handling.

Powered by Google App Engine
This is Rietveld 408576698