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

Unified Diff: components/gcm_driver/fake_gcm_client.cc

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/fake_gcm_client.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/fake_gcm_client.cc
diff --git a/components/gcm_driver/fake_gcm_client.cc b/components/gcm_driver/fake_gcm_client.cc
index 605122249165ac171af3e5e52a8bb201073e7235..fdf636f2217dbbb714ca3597b262515ee26c457a 100644
--- a/components/gcm_driver/fake_gcm_client.cc
+++ b/components/gcm_driver/fake_gcm_client.cc
@@ -130,6 +130,9 @@ void FakeGCMClient::UpdateAccountMapping(
void FakeGCMClient::RemoveAccountMapping(const std::string& account_id) {
}
+void FakeGCMClient::SetLastTokenFetchTime(const base::Time& time) {
+}
+
void FakeGCMClient::PerformDelayedLoading() {
DCHECK(ui_thread_->RunsTasksOnCurrentThread());
@@ -183,7 +186,7 @@ std::string FakeGCMClient::GetRegistrationIdFromSenderIds(
}
void FakeGCMClient::CheckinFinished() {
- delegate_->OnGCMReady(std::vector<AccountMapping>());
+ delegate_->OnGCMReady(std::vector<AccountMapping>(), base::Time());
delegate_->OnConnected(net::IPEndPoint());
}
« no previous file with comments | « components/gcm_driver/fake_gcm_client.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698