| Index: device/bluetooth/bluetooth_device_win.h
|
| diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_win.h
|
| index b1e9d805cd23c2a667b5e35e42aacbd115663273..7985e210b03f0410fa6566de6db4056eba4d29a9 100644
|
| --- a/device/bluetooth/bluetooth_device_win.h
|
| +++ b/device/bluetooth/bluetooth_device_win.h
|
| @@ -22,11 +22,15 @@ class BluetoothDeviceWin : public BluetoothDevice {
|
| const BluetoothTaskManagerWin::DeviceState& state);
|
| virtual ~BluetoothDeviceWin();
|
|
|
| - void SetVisible(bool visible);
|
| -
|
| // BluetoothDevice override
|
| + virtual uint32 bluetooth_class() const OVERRIDE;
|
| + virtual std::string name() const OVERRIDE;
|
| + virtual std::string address() const OVERRIDE;
|
| virtual bool IsPaired() const OVERRIDE;
|
| - virtual const ServiceList& GetServices() const OVERRIDE;
|
| + virtual bool IsConnected() const OVERRIDE;
|
| + virtual bool IsConnectable() const OVERRIDE;
|
| + virtual bool IsConnecting() const OVERRIDE;
|
| + virtual ServiceList GetServices() const OVERRIDE;
|
| virtual void GetServiceRecords(
|
| const ServiceRecordsCallback& callback,
|
| const ErrorCallback& error_callback) OVERRIDE;
|
| @@ -71,6 +75,24 @@ class BluetoothDeviceWin : public BluetoothDevice {
|
| return device_fingerprint_;
|
| }
|
|
|
| + // The Bluetooth class of the device, a bitmask that may be decoded using
|
| + // https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm
|
| + uint32 bluetooth_class_;
|
| +
|
| + // The name of the device, as supplied by the remote device.
|
| + std::string name_;
|
| +
|
| + // The Bluetooth address of the device.
|
| + std::string address_;
|
| +
|
| + // Tracked device state, updated by the adapter managing the lifecyle of
|
| + // the device.
|
| + bool paired_;
|
| + bool connected_;
|
| +
|
| + // The services (identified by UUIDs) that this device provides.
|
| + ServiceList service_uuids_;
|
| +
|
| // Used to compare the devices.
|
| uint32 device_fingerprint_;
|
| ServiceRecordList service_record_list_;
|
|
|