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; |