| Index: device/bluetooth/bluetooth_device.h
|
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
|
| index b7dc9e2a2da713108c88acb595c6d5a7909175a2..87562ff6a05fcf42979329932964cfe4214330b9 100644
|
| --- a/device/bluetooth/bluetooth_device.h
|
| +++ b/device/bluetooth/bluetooth_device.h
|
| @@ -242,6 +242,9 @@ class BluetoothDevice {
|
| typedef base::Callback<void(scoped_refptr<BluetoothSocket>)>
|
| SocketCallback;
|
|
|
| + // Sets whether the device is visible to the owning adapter to |visible|.
|
| + virtual void SetVisible(bool visible);
|
| +
|
| // Initiates a connection to the device, pairing first if necessary.
|
| //
|
| // Method calls will be made on the supplied object |pairing_delegate|
|
| @@ -324,7 +327,11 @@ class BluetoothDevice {
|
| const ErrorCallback& error_callback) = 0;
|
|
|
| protected:
|
| - BluetoothDevice();
|
| + BluetoothDevice(const std::string& name,
|
| + const std::string& address,
|
| + uint32 bluetooth_class,
|
| + bool connected,
|
| + bool bonded);
|
|
|
| // The Bluetooth class of the device, a bitmask that may be decoded using
|
| // https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm
|
|
|