Chromium Code Reviews| Index: components/gcm_driver/gcm_client_impl.cc |
| diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc |
| index 8fe3df7fb4eef2c0e033a5dee4f5e0ad439089d6..4a68dc0766f61c76c492fc5eeb1976109f1ef0f4 100644 |
| --- a/components/gcm_driver/gcm_client_impl.cc |
| +++ b/components/gcm_driver/gcm_client_impl.cc |
| @@ -474,7 +474,7 @@ void GCMClientImpl::RemoveAccountMapping(const std::string& account_id) { |
| void GCMClientImpl::SetLastTokenFetchTime(const base::Time& time) { |
| gcm_store_->SetLastTokenFetchTime( |
|
Nicolas Zea
2014/11/07 22:19:25
How about just not calling this at all if we're un
fgorski
2014/11/07 22:57:02
tracker does not call the other methods. GCMAccoun
Nicolas Zea
2014/11/07 23:03:23
Okay, maybe file followup bug?
|
| time, |
| - base::Bind(&GCMClientImpl::DefaultStoreCallback, |
| + base::Bind(&GCMClientImpl::IgnoreWriteResultCallback, |
| weak_ptr_factory_.GetWeakPtr())); |
| } |
| @@ -597,6 +597,11 @@ void GCMClientImpl::DefaultStoreCallback(bool success) { |
| DCHECK(success); |
| } |
| +void GCMClientImpl::IgnoreWriteResultCallback(bool success) { |
| + // TODO(fgorski): Ignoring the write result for now to make sure |
| + // sync_intergration_tests are not broken. |
| +} |
| + |
| void GCMClientImpl::Stop() { |
| DVLOG(1) << "Stopping the GCM Client"; |
| weak_ptr_factory_.InvalidateWeakPtrs(); |