| Index: device/bluetooth/bluetooth_device_chromeos.h
|
| diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h
|
| index aa12e0b5e6936b2a2b3a1cbc8a2f7a161637b51e..644bc26e98a72797f647a2b4434a02ab36d3a6ce 100644
|
| --- a/device/bluetooth/bluetooth_device_chromeos.h
|
| +++ b/device/bluetooth/bluetooth_device_chromeos.h
|
| @@ -66,6 +66,10 @@ class BluetoothDeviceChromeOS
|
| const device::BluetoothUUID& uuid,
|
| const ConnectToServiceCallback& callback,
|
| const ConnectToServiceErrorCallback& error_callback) override;
|
| + virtual void ConnectToServiceInsecurely(
|
| + const device::BluetoothUUID& uuid,
|
| + const ConnectToServiceCallback& callback,
|
| + const ConnectToServiceErrorCallback& error_callback) override;
|
| virtual void CreateGattConnection(
|
| const GattConnectionCallback& callback,
|
| const ConnectErrorCallback& error_callback) override;
|
| @@ -73,19 +77,6 @@ class BluetoothDeviceChromeOS
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) override;
|
|
|
| - // Attempts to initiate an insecure outgoing L2CAP or RFCOMM connection to the
|
| - // advertised service on this device matching |uuid|, performing an SDP lookup
|
| - // if necessary to determine the correct protocol and channel for the
|
| - // connection. Unlike ConnectToService, the outgoing connection will request
|
| - // no bonding rather than general bonding. |callback| will be called on a
|
| - // successful connection with a BluetoothSocket instance that is to be owned
|
| - // by the receiver. |error_callback| will be called on failure with a message
|
| - // indicating the cause.
|
| - void ConnectToServiceInsecurely(
|
| - const device::BluetoothUUID& uuid,
|
| - const ConnectToServiceCallback& callback,
|
| - const ConnectToServiceErrorCallback& error_callback);
|
| -
|
| // Creates a pairing object with the given delegate |pairing_delegate| and
|
| // establishes it as the pairing context for this device. All pairing-related
|
| // method calls will be forwarded to this object until it is released.
|
|
|