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
3 // found in the LICENSE file.
5 #include "components/proximity_auth/cryptauth/cryptauth_gcm_manager.h"
7 #include "base/prefs/pref_registry_simple.h"
8 #include "components/proximity_auth/cryptauth/pref_names.h"
10 namespace proximity_auth
{
12 CryptAuthGCMManager::Observer::~Observer() {
15 void CryptAuthGCMManager::Observer::OnGCMRegistrationResult(bool success
) {
18 void CryptAuthGCMManager::Observer::OnReenrollMessage() {
21 void CryptAuthGCMManager::Observer::OnResyncMessage() {
25 void CryptAuthGCMManager::RegisterPrefs(PrefRegistrySimple
* registry
) {
26 registry
->RegisterStringPref(prefs::kCryptAuthGCMRegistrationId
,
30 } // namespace proximity_auth