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

Side by Side Diff: components/cryptauth/fake_cryptauth_gcm_manager.cc

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Fixed proto #includes. Created 4 years, 1 month 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/fake_cryptauth_gcm_manager.h" 5 #include "components/cryptauth/fake_cryptauth_gcm_manager.h"
6 6
7 namespace proximity_auth { 7 namespace cryptauth {
8 8
9 FakeCryptAuthGCMManager::FakeCryptAuthGCMManager( 9 FakeCryptAuthGCMManager::FakeCryptAuthGCMManager(
10 const std::string& registration_id) 10 const std::string& registration_id)
11 : registration_in_progress_(false), registration_id_(registration_id) {} 11 : registration_in_progress_(false), registration_id_(registration_id) {}
12 12
13 FakeCryptAuthGCMManager::~FakeCryptAuthGCMManager() {} 13 FakeCryptAuthGCMManager::~FakeCryptAuthGCMManager() {}
14 14
15 void FakeCryptAuthGCMManager::StartListening() {} 15 void FakeCryptAuthGCMManager::StartListening() {}
16 16
17 void FakeCryptAuthGCMManager::RegisterWithGCM() { 17 void FakeCryptAuthGCMManager::RegisterWithGCM() {
(...skipping 25 matching lines...) Expand all
43 void FakeCryptAuthGCMManager::PushReenrollMessage() { 43 void FakeCryptAuthGCMManager::PushReenrollMessage() {
44 for (auto& observer : observers_) 44 for (auto& observer : observers_)
45 observer.OnReenrollMessage(); 45 observer.OnReenrollMessage();
46 } 46 }
47 47
48 void FakeCryptAuthGCMManager::PushResyncMessage() { 48 void FakeCryptAuthGCMManager::PushResyncMessage() {
49 for (auto& observer : observers_) 49 for (auto& observer : observers_)
50 observer.OnResyncMessage(); 50 observer.OnResyncMessage();
51 } 51 }
52 52
53 } // namespace proximity_auth 53 } // namespace cryptauth
OLDNEW
« no previous file with comments | « components/cryptauth/fake_cryptauth_gcm_manager.h ('k') | components/cryptauth/fake_secure_message_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698