Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: components/pairing/bluetooth_host_pairing_controller.h

Issue 1942883003: [Chrome OS Bootstrapping]: Do not always power off the Bluetooth adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing deps Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698