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

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

Issue 681453004: [GCM] Adding last token fetching time handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Android build Created 6 years, 2 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
« no previous file with comments | « components/gcm_driver/gcm_driver_desktop.cc ('k') | google_apis/gcm/engine/gcm_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9a1d8d87cb7ef6d1eda98531d4d7484dff8f4366..9bad954b669aaf40ba1639100055887149c2fc3f 100644
--- a/google_apis/gcm/engine/gcm_store.h
+++ b/google_apis/gcm/engine/gcm_store.h
@@ -55,6 +55,7 @@ class GCM_EXPORT GCMStore {
base::Time last_checkin_time;
std::set<std::string> last_checkin_accounts;
AccountMappings account_mappings;
+ base::Time last_token_fetch_time;
};
typedef std::vector<std::string> PersistentIdList;
@@ -128,6 +129,10 @@ class GCM_EXPORT GCMStore {
virtual void RemoveAccountMapping(const std::string& account_id,
const UpdateCallback& callback) = 0;
+ // Sets last token fetch time.
+ virtual void SetLastTokenFetchTime(const base::Time& time,
+ const UpdateCallback& callback) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(GCMStore);
};
« no previous file with comments | « components/gcm_driver/gcm_driver_desktop.cc ('k') | google_apis/gcm/engine/gcm_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698