Chromium Code Reviews| Index: components/pairing/bluetooth_host_pairing_controller.h |
| diff --git a/components/pairing/bluetooth_host_pairing_controller.h b/components/pairing/bluetooth_host_pairing_controller.h |
| index e5ebac84a6e3d322cdb275e921907ffc59e4860c..253cbf59d307da4f0d5a76fa3bd63aacd4c34ec9 100644 |
| --- a/components/pairing/bluetooth_host_pairing_controller.h |
| +++ b/components/pairing/bluetooth_host_pairing_controller.h |
| @@ -19,6 +19,7 @@ |
| #include "device/bluetooth/bluetooth_adapter.h" |
| #include "device/bluetooth/bluetooth_device.h" |
| #include "device/bluetooth/bluetooth_socket.h" |
| +#include "device/hid/input_service_linux.h" |
| namespace device { |
| class BluetoothAdapter; |
| @@ -37,6 +38,7 @@ class BluetoothHostPairingController |
| public device::BluetoothDevice::PairingDelegate { |
| public: |
| typedef HostPairingController::Observer Observer; |
| + typedef device::InputServiceLinux::InputDeviceInfo InputDeviceInfo; |
|
achuithb
2016/05/02 23:02:40
We prefer using, please switch this and HostingPai
|
| BluetoothHostPairingController(); |
| ~BluetoothHostPairingController() override; |
| @@ -63,6 +65,7 @@ class BluetoothHostPairingController |
| void OnSendError(const std::string& error_message); |
| void OnReceiveError(device::BluetoothSocket::ErrorReason reason, |
| const std::string& error_message); |
| + void PowerOffAdapterIfApplicable(const std::vector<InputDeviceInfo>& devices); |
| // HostPairingController: |
| void AddObserver(Observer* observer) override; |