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

Unified Diff: components/gcm_driver/gcm_driver.h

Issue 681453004: [GCM] Adding last token fetching time handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/gcm_driver/gcm_driver.h
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h
index 87345178662a479528e9e764bd3c647f7ce838a9..d413ef15516a83bafabadce05589e8eb5a6b7615 100644
--- a/components/gcm_driver/gcm_driver.h
+++ b/components/gcm_driver/gcm_driver.h
@@ -133,6 +133,10 @@ class GCMDriver {
// persistent store.
virtual void RemoveAccountMapping(const std::string& account_id) = 0;
+ // Getter and setter of last token fetching time.
+ virtual base::Time GetLastTokenFetchingTime() = 0;
+ virtual void SetLastTokenFetchingTime(const base::Time& time) = 0;
+
protected:
// Ensures that the GCM service starts (if necessary conditions are met).
virtual GCMClient::Result EnsureStarted() = 0;

Powered by Google App Engine
This is Rietveld 408576698