Chromium Code Reviews| Index: components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc |
| diff --git a/components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc b/components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc |
| index 77680e8f31f40be707e320f2f0acdb05c644797b..5e3009cdf147780b58dfa8640fc38b22c4300a43 100644 |
| --- a/components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc |
| +++ b/components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc |
| @@ -83,6 +83,11 @@ void CryptAuthGCMManagerImpl::RemoveObserver(Observer* observer) { |
| void CryptAuthGCMManagerImpl::ShutdownHandler() { |
| } |
| +void CryptAuthGCMManagerImpl::OnStoreReset() { |
| + // TODO(crbug.com/661660): Tell server the registration ID is no longer valid. |
|
Tim Song
2016/11/16 22:28:09
Can you change this comment to:
"We will automatic
johnme
2016/11/17 12:57:25
Done.
|
| + pref_service_->ClearPref(prefs::kCryptAuthGCMRegistrationId); |
| +} |
| + |
| void CryptAuthGCMManagerImpl::OnMessage(const std::string& app_id, |
| const gcm::IncomingMessage& message) { |
| std::vector<std::string> fields; |