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 080a7d006fb208bdbcff659566dec87c476f049b..f4211dbfd55158abb9fa370dcb674f377379cc45 100644 |
| --- a/components/gcm_driver/gcm_client_impl.cc |
| +++ b/components/gcm_driver/gcm_client_impl.cc |
| @@ -812,6 +812,8 @@ void GCMClientImpl::DestroyStoreCallback(bool success) { |
| } |
| void GCMClientImpl::ResetStoreCallback(bool success) { |
| + delegate_->OnStoreReset(); |
|
jianli
2016/11/08 23:54:57
Do we want to call OnStoreReset if |success| is fa
johnme
2016/11/09 19:33:48
Yes, I think so. Looking at the source code of lev
jianli
2016/11/09 21:54:23
Please add some comments to explain this.
johnme
2016/11/10 19:56:54
Done.
|
| + |
| if (!success) { |
| LOG(ERROR) << "Failed to reset GCM store"; |
| RecordResetStoreErrorToUMA(DESTROYING_STORE_FAILED); |