Chromium Code Reviews| Index: google_apis/gcm/engine/gcm_store_impl.h |
| diff --git a/google_apis/gcm/engine/gcm_store_impl.h b/google_apis/gcm/engine/gcm_store_impl.h |
| index 971367a8bf01960fad72894a6f4dc453a99f0c0c..ce634d6138c410749622cf18ccbb680c466bfb46 100644 |
| --- a/google_apis/gcm/engine/gcm_store_impl.h |
| +++ b/google_apis/gcm/engine/gcm_store_impl.h |
| @@ -8,6 +8,7 @@ |
| #include "base/basictypes.h" |
| #include "base/memory/ref_counted.h" |
| #include "base/memory/weak_ptr.h" |
| +#include "base/time/time.h" |
|
jianli
2014/04/02 22:00:18
nit: not needed
fgorski
2014/04/02 22:37:21
Done.
|
| #include "google_apis/gcm/base/gcm_export.h" |
| #include "google_apis/gcm/engine/gcm_store.h" |
| @@ -74,6 +75,10 @@ class GCM_EXPORT GCMStoreImpl : public GCMStore { |
| virtual void RemoveOutgoingMessages(const PersistentIdList& persistent_ids, |
| const UpdateCallback& callback) OVERRIDE; |
| + // Sets last device's checkin time. |
| + virtual void SetLastCheckinTime(const base::Time& last_checkin_time, |
| + const UpdateCallback& callback) OVERRIDE; |
| + |
| private: |
| typedef std::map<std::string, int> AppIdToMessageCountMap; |