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 "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
11 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
12 #include "components/proximity_auth/authenticator.h" | 13 #include "components/proximity_auth/authenticator.h" |
13 #include "components/proximity_auth/messenger_observer.h" | 14 #include "components/proximity_auth/messenger_observer.h" |
14 #include "components/proximity_auth/remote_device.h" | 15 #include "components/proximity_auth/remote_device.h" |
15 #include "components/proximity_auth/remote_device_life_cycle.h" | 16 #include "components/proximity_auth/remote_device_life_cycle.h" |
16 | 17 |
17 namespace proximity_auth { | 18 namespace proximity_auth { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 base::OneShotTimer authentication_recovery_timer_; | 113 base::OneShotTimer authentication_recovery_timer_; |
113 | 114 |
114 base::WeakPtrFactory<RemoteDeviceLifeCycleImpl> weak_ptr_factory_; | 115 base::WeakPtrFactory<RemoteDeviceLifeCycleImpl> weak_ptr_factory_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(RemoteDeviceLifeCycleImpl); | 117 DISALLOW_COPY_AND_ASSIGN(RemoteDeviceLifeCycleImpl); |
117 }; | 118 }; |
118 | 119 |
119 } // namespace proximity_auth | 120 } // namespace proximity_auth |
120 | 121 |
121 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H | 122 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_IMPL_H |
OLD | NEW |