| Index: device/bluetooth/bluetooth_device_chromeos.h
|
| diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h
|
| index 41327899e4545975e962c974cdb462c125e4b00f..6608b13e09ca32a50566a047f18c384dc1050164 100644
|
| --- a/device/bluetooth/bluetooth_device_chromeos.h
|
| +++ b/device/bluetooth/bluetooth_device_chromeos.h
|
| @@ -146,6 +146,14 @@ class BluetoothDeviceChromeOS
|
| void SetTrusted();
|
| void OnSetTrusted(bool success);
|
|
|
| + // Internal method to enable the connection monitor when connecting to this
|
| + // device. The connection monitor mode tracks the connection RSSI and TX
|
| + // power of the connection.
|
| + void StartConnectionMonitor();
|
| + void OnStartConnectionMonitor();
|
| + void OnStartConnectionMonitorError(const std::string& error_name,
|
| + const std::string& error_message);
|
| +
|
| // Called by dbus:: on completion of the D-Bus method call to disconnect the
|
| // device.
|
| void OnDisconnect(const base::Closure& callback);
|
| @@ -185,6 +193,10 @@ class BluetoothDeviceChromeOS
|
| // Number of ongoing calls to Connect().
|
| int num_connecting_calls_;
|
|
|
| + // True if the connection monitor has been started, tracking the connection
|
| + // RSSI and TX power.
|
| + bool connection_monitor_started_;
|
| +
|
| // UI thread task runner and socket thread object used to create sockets.
|
| scoped_refptr<base::SequencedTaskRunner> ui_task_runner_;
|
| scoped_refptr<device::BluetoothSocketThread> socket_thread_;
|
|
|