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 #ifndef COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H |
6 #define COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H | 6 #define COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
14 #include "components/proximity_auth/authenticator.h" | 14 #include "components/proximity_auth/authenticator.h" |
15 #include "components/proximity_auth/messenger_observer.h" | 15 #include "components/proximity_auth/messenger_observer.h" |
16 #include "components/proximity_auth/remote_device.h" | 16 #include "components/proximity_auth/remote_device.h" |
17 #include "components/proximity_auth/remote_device_life_cycle.h" | 17 #include "components/proximity_auth/remote_device_life_cycle.h" |
18 | 18 |
19 namespace proximity_auth { | 19 namespace proximity_auth { |
20 | 20 |
21 class BluetoothThrottler; | 21 class BluetoothThrottler; |
22 class BluetoothLowEnergyDeviceWhitelist; | |
23 class Messenger; | 22 class Messenger; |
24 class Connection; | 23 class Connection; |
25 class ConnectionFinder; | 24 class ConnectionFinder; |
26 class ProximityAuthClient; | 25 class ProximityAuthClient; |
27 class SecureContext; | 26 class SecureContext; |
28 | 27 |
29 // Implementation of RemoteDeviceLifeCycle. | 28 // Implementation of RemoteDeviceLifeCycle. |
30 class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle, | 29 class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle, |
31 public MessengerObserver { | 30 public MessengerObserver { |
32 public: | 31 public: |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 base::OneShotTimer authentication_recovery_timer_; | 113 base::OneShotTimer authentication_recovery_timer_; |
115 | 114 |
116 base::WeakPtrFactory<RemoteDeviceLifeCycleImpl> weak_ptr_factory_; | 115 base::WeakPtrFactory<RemoteDeviceLifeCycleImpl> weak_ptr_factory_; |
117 | 116 |
118 DISALLOW_COPY_AND_ASSIGN(RemoteDeviceLifeCycleImpl); | 117 DISALLOW_COPY_AND_ASSIGN(RemoteDeviceLifeCycleImpl); |
119 }; | 118 }; |
120 | 119 |
121 } // namespace proximity_auth | 120 } // namespace proximity_auth |
122 | 121 |
123 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H | 122 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H |
OLD | NEW |