| 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_CONTROLLER_PAIRING_CONTROLLER_H_ | 5 #ifndef COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ |
| 6 #define COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ | 6 #define COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 // ProtoDecoder::Observer: | 81 // ProtoDecoder::Observer: |
| 82 void OnHostStatusMessage(const pairing_api::HostStatus& message) override; | 82 void OnHostStatusMessage(const pairing_api::HostStatus& message) override; |
| 83 void OnConfigureHostMessage( | 83 void OnConfigureHostMessage( |
| 84 const pairing_api::ConfigureHost& message) override; | 84 const pairing_api::ConfigureHost& message) override; |
| 85 void OnPairDevicesMessage(const pairing_api::PairDevices& message) override; | 85 void OnPairDevicesMessage(const pairing_api::PairDevices& message) override; |
| 86 void OnCompleteSetupMessage( | 86 void OnCompleteSetupMessage( |
| 87 const pairing_api::CompleteSetup& message) override; | 87 const pairing_api::CompleteSetup& message) override; |
| 88 void OnErrorMessage(const pairing_api::Error& message) override; | 88 void OnErrorMessage(const pairing_api::Error& message) override; |
| 89 void OnAddNetworkMessage(const pairing_api::AddNetwork& message) override; | 89 void OnAddNetworkMessage(const pairing_api::AddNetwork& message) override; |
| 90 void OnRebootMessage(const pairing_api::Reboot& message) override; |
| 90 | 91 |
| 91 // BluetoothAdapter::Observer: | 92 // BluetoothAdapter::Observer: |
| 92 void DeviceAdded(device::BluetoothAdapter* adapter, | 93 void DeviceAdded(device::BluetoothAdapter* adapter, |
| 93 device::BluetoothDevice* device) override; | 94 device::BluetoothDevice* device) override; |
| 94 void DeviceRemoved(device::BluetoothAdapter* adapter, | 95 void DeviceRemoved(device::BluetoothAdapter* adapter, |
| 95 device::BluetoothDevice* device) override; | 96 device::BluetoothDevice* device) override; |
| 96 | 97 |
| 97 // device::BluetoothDevice::PairingDelegate: | 98 // device::BluetoothDevice::PairingDelegate: |
| 98 void RequestPinCode(device::BluetoothDevice* device) override; | 99 void RequestPinCode(device::BluetoothDevice* device) override; |
| 99 void RequestPasskey(device::BluetoothDevice* device) override; | 100 void RequestPasskey(device::BluetoothDevice* device) override; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 120 base::ThreadChecker thread_checker_; | 121 base::ThreadChecker thread_checker_; |
| 121 base::ObserverList<ControllerPairingController::Observer> observers_; | 122 base::ObserverList<ControllerPairingController::Observer> observers_; |
| 122 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_; | 123 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_; |
| 123 | 124 |
| 124 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController); | 125 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController); |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 } // namespace pairing_chromeos | 128 } // namespace pairing_chromeos |
| 128 | 129 |
| 129 #endif // COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ | 130 #endif // COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ |
| OLD | NEW |