X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcomponents%2Fgcm_driver%2Ffake_gcm_client.cc;h=fdf636f2217dbbb714ca3597b262515ee26c457a;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=eaf72a92e18bd8d680d946a930be0d8c3e09be86;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/components/gcm_driver/fake_gcm_client.cc b/src/components/gcm_driver/fake_gcm_client.cc index eaf72a9..fdf636f 100644 --- a/src/components/gcm_driver/fake_gcm_client.cc +++ b/src/components/gcm_driver/fake_gcm_client.cc @@ -119,8 +119,8 @@ GCMClient::GCMStatistics FakeGCMClient::GetStatistics() const { return GCMClient::GCMStatistics(); } -void FakeGCMClient::SetAccountsForCheckin( - const std::map& account_tokens) { +void FakeGCMClient::SetAccountTokens( + const std::vector& account_tokens) { } void FakeGCMClient::UpdateAccountMapping( @@ -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()); + delegate_->OnGCMReady(std::vector(), base::Time()); delegate_->OnConnected(net::IPEndPoint()); }