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..d099f1bfa1287a2245277d40f2a444e611db81d2 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 fetch time. |
+ virtual base::Time GetLastTokenFetchTime() = 0; |
+ virtual void SetLastTokenFetchTime(const base::Time& time) = 0; |
+ |
protected: |
// Ensures that the GCM service starts (if necessary conditions are met). |
virtual GCMClient::Result EnsureStarted() = 0; |