| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager.h" | 5 #include "components/cryptauth/cryptauth_gcm_manager.h" |
| 6 | 6 |
| 7 #include "components/cryptauth/pref_names.h" |
| 7 #include "components/prefs/pref_registry_simple.h" | 8 #include "components/prefs/pref_registry_simple.h" |
| 8 #include "components/proximity_auth/cryptauth/pref_names.h" | |
| 9 | 9 |
| 10 namespace proximity_auth { | 10 namespace cryptauth { |
| 11 | 11 |
| 12 CryptAuthGCMManager::Observer::~Observer() { | 12 CryptAuthGCMManager::Observer::~Observer() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 void CryptAuthGCMManager::Observer::OnGCMRegistrationResult(bool success) { | 15 void CryptAuthGCMManager::Observer::OnGCMRegistrationResult(bool success) { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void CryptAuthGCMManager::Observer::OnReenrollMessage() { | 18 void CryptAuthGCMManager::Observer::OnReenrollMessage() { |
| 19 } | 19 } |
| 20 | 20 |
| 21 void CryptAuthGCMManager::Observer::OnResyncMessage() { | 21 void CryptAuthGCMManager::Observer::OnResyncMessage() { |
| 22 } | 22 } |
| 23 | 23 |
| 24 // static. | 24 // static. |
| 25 void CryptAuthGCMManager::RegisterPrefs(PrefRegistrySimple* registry) { | 25 void CryptAuthGCMManager::RegisterPrefs(PrefRegistrySimple* registry) { |
| 26 registry->RegisterStringPref(prefs::kCryptAuthGCMRegistrationId, | 26 registry->RegisterStringPref(prefs::kCryptAuthGCMRegistrationId, |
| 27 std::string()); | 27 std::string()); |
| 28 } | 28 } |
| 29 | 29 |
| 30 } // namespace proximity_auth | 30 } // namespace cryptauth |
| OLD | NEW |