| Index: components/gcm_driver/gcm_client.h
|
| diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
|
| index 7552bbe00a2d4bf97fd38b800554063f770a9e93..dbd386f792085cdbf1a2db49dcca24fa28c16900 100644
|
| --- a/components/gcm_driver/gcm_client.h
|
| +++ b/components/gcm_driver/gcm_client.h
|
| @@ -203,8 +203,10 @@ class GCMClient {
|
| // from the server if it hadn't yet.
|
| // |account_mappings|: a persisted list of accounts mapped to this GCM
|
| // client.
|
| + // |last_token_fetching_time|: a timestamp of a last successful token fetch.
|
| virtual void OnGCMReady(
|
| - const std::vector<AccountMapping>& account_mappings) = 0;
|
| + const std::vector<AccountMapping>& account_mappings,
|
| + const base::Time& last_token_fetching_time) = 0;
|
|
|
| // Called when activities are being recorded and a new activity has just
|
| // been recorded.
|
| @@ -295,6 +297,9 @@ class GCMClient {
|
| // Removes the account mapping related to |account_id| from the persistent
|
| // store.
|
| virtual void RemoveAccountMapping(const std::string& account_id) = 0;
|
| +
|
| + // Sets last token fetching time in persistent store.
|
| + virtual void SetLastTokenFetchingTime(const base::Time& time) = 0;
|
| };
|
|
|
| } // namespace gcm
|
|
|