summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_device.h')
-rw-r--r--device/bluetooth/bluetooth_device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index d022ea9..abf15d3 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -321,8 +321,10 @@ class BluetoothDevice {
// Attempts to initiate an outgoing connection to this device for the profile
// identified by |profile|, on success the profile's connection callback
- // wil be called; on failure |error_callback| will be called.
+ // will be called as well as |callback|; on failure |error_callback| will be
+ // called.
virtual void ConnectToProfile(BluetoothProfile* profile,
+ const base::Closure& callback,
const ErrorCallback& error_callback) = 0;
// Sets the Out Of Band pairing data for this device to |data|. Exactly one