OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ | 5 #ifndef COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ |
6 #define COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ | 6 #define COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
17 #include "components/pairing/host_pairing_controller.h" | 17 #include "components/pairing/host_pairing_controller.h" |
18 #include "components/pairing/proto_decoder.h" | 18 #include "components/pairing/proto_decoder.h" |
19 #include "device/bluetooth/bluetooth_adapter.h" | 19 #include "device/bluetooth/bluetooth_adapter.h" |
20 #include "device/bluetooth/bluetooth_device.h" | 20 #include "device/bluetooth/bluetooth_device.h" |
21 #include "device/bluetooth/bluetooth_socket.h" | 21 #include "device/bluetooth/bluetooth_socket.h" |
22 #include "device/hid/input_service_linux.h" | 22 #include "device/hid/input_service_linux.h" |
23 | 23 |
| 24 namespace base { |
| 25 class SingleThreadTaskRunner; |
| 26 } |
| 27 |
24 namespace device { | 28 namespace device { |
25 class BluetoothAdapter; | 29 class BluetoothAdapter; |
26 } | 30 } |
27 | 31 |
28 namespace net { | 32 namespace net { |
29 class IOBuffer; | 33 class IOBuffer; |
30 } | 34 } |
31 | 35 |
32 namespace pairing_chromeos { | 36 namespace pairing_chromeos { |
33 | 37 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 base::ThreadChecker thread_checker_; | 149 base::ThreadChecker thread_checker_; |
146 base::ObserverList<Observer> observers_; | 150 base::ObserverList<Observer> observers_; |
147 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; | 151 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; |
148 | 152 |
149 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController); | 153 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController); |
150 }; | 154 }; |
151 | 155 |
152 } // namespace pairing_chromeos | 156 } // namespace pairing_chromeos |
153 | 157 |
154 #endif // COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ | 158 #endif // COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ |
OLD | NEW |