OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "chromeos/components/tether/fake_ble_connection_manager.h" | 5 #include "chromeos/components/tether/fake_ble_connection_manager.h" |
6 | 6 |
7 #include "chromeos/components/tether/timer_factory.h" | |
khorimoto
2017/05/31 18:13:28
nit: Is this needed?
Ryan Hansberry
2017/05/31 18:24:54
Unfortunately yes, C++ complains that TimerFactory
| |
8 | |
7 namespace chromeos { | 9 namespace chromeos { |
8 | 10 |
9 namespace tether { | 11 namespace tether { |
10 | 12 |
11 FakeBleConnectionManager::StatusAndRegisteredMessageTypes:: | 13 FakeBleConnectionManager::StatusAndRegisteredMessageTypes:: |
12 StatusAndRegisteredMessageTypes() | 14 StatusAndRegisteredMessageTypes() |
13 : status(cryptauth::SecureChannel::Status::DISCONNECTED) {} | 15 : status(cryptauth::SecureChannel::Status::DISCONNECTED) {} |
14 | 16 |
15 FakeBleConnectionManager::StatusAndRegisteredMessageTypes:: | 17 FakeBleConnectionManager::StatusAndRegisteredMessageTypes:: |
16 StatusAndRegisteredMessageTypes( | 18 StatusAndRegisteredMessageTypes( |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 return false; | 88 return false; |
87 } | 89 } |
88 | 90 |
89 *status = iter->second.status; | 91 *status = iter->second.status; |
90 return true; | 92 return true; |
91 } | 93 } |
92 | 94 |
93 } // namespace tether | 95 } // namespace tether |
94 | 96 |
95 } // namespace chromeos | 97 } // namespace chromeos |
OLD | NEW |