Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: components/proximity_auth/cryptauth/cryptauth_gcm_manager.cc

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/proximity_auth/cryptauth/cryptauth_gcm_manager.h"
6 6
7 #include "base/prefs/pref_registry_simple.h" 7 #include "components/prefs/pref_registry_simple.h"
8 #include "components/proximity_auth/cryptauth/pref_names.h" 8 #include "components/proximity_auth/cryptauth/pref_names.h"
9 9
10 namespace proximity_auth { 10 namespace proximity_auth {
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 proximity_auth
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698