| Index: components/gcm_driver/gcm_account_mapper.cc
|
| diff --git a/components/gcm_driver/gcm_account_mapper.cc b/components/gcm_driver/gcm_account_mapper.cc
|
| index db81c3aec99170c2c9e26ff43522186fda8f3f74..02ba9f1ab596ac074c83546b66bad26bffb986c2 100644
|
| --- a/components/gcm_driver/gcm_account_mapper.cc
|
| +++ b/components/gcm_driver/gcm_account_mapper.cc
|
| @@ -150,6 +150,12 @@ void GCMAccountMapper::ShutdownHandler() {
|
| dispatch_message_callback_.Reset();
|
| }
|
|
|
| +void GCMAccountMapper::OnStoreReset() {
|
| + // TODO(crbug.com/661660): Tell server to remove the mapping. But can't use
|
| + // upstream GCM send for that since the store got reset.
|
| + ShutdownHandler();
|
| +}
|
| +
|
| void GCMAccountMapper::OnMessage(const std::string& app_id,
|
| const IncomingMessage& message) {
|
| DCHECK_EQ(app_id, kGCMAccountMapperAppId);
|
|
|