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

Unified Diff: components/gcm_driver/gcm_client_impl.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_client.h ('k') | components/gcm_driver/gcm_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_client_impl.h
diff --git a/components/gcm_driver/gcm_client_impl.h b/components/gcm_driver/gcm_client_impl.h
index a20cb12c0794dfb78b98832da4281658195bf27f..b6a1ab5b718301abadbb1d241287f1fbfa1cbed0 100644
--- a/components/gcm_driver/gcm_client_impl.h
+++ b/components/gcm_driver/gcm_client_impl.h
@@ -107,6 +107,7 @@ class GCMClientImpl
const std::vector<AccountTokenInfo>& account_tokens) override;
void UpdateAccountMapping(const AccountMapping& account_mapping) override;
void RemoveAccountMapping(const std::string& account_id) override;
+ void SetLastTokenFetchTime(const base::Time& time) override;
// GCMStatsRecorder::Delegate implemenation.
void OnActivityRecorded() override;
@@ -197,7 +198,8 @@ class GCMClientImpl
void ResetState();
// Sets state to ready. This will initiate the MCS login and notify the
// delegates.
- void OnReady(const std::vector<AccountMapping>& account_mappings);
+ void OnReady(const std::vector<AccountMapping>& account_mappings,
+ const base::Time& last_token_fetch_time);
// Starts a first time device checkin.
void StartCheckin();
« no previous file with comments | « components/gcm_driver/gcm_client.h ('k') | components/gcm_driver/gcm_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698