| Index: trunk/src/device/bluetooth/bluetooth_device_mac.mm
|
| ===================================================================
|
| --- trunk/src/device/bluetooth/bluetooth_device_mac.mm (revision 262179)
|
| +++ trunk/src/device/bluetooth/bluetooth_device_mac.mm (working copy)
|
| @@ -36,8 +36,6 @@
|
|
|
| namespace {
|
|
|
| -const char kFailedToConnect[] = "Connection failed";
|
| -
|
| // Converts |uuid| to a IOBluetoothSDPUUID instance.
|
| //
|
| // |uuid| must be in the format of XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
|
| @@ -196,13 +194,13 @@
|
| }
|
|
|
| void BluetoothDeviceMac::ConnectToProfile(
|
| - BluetoothProfile* profile,
|
| + device::BluetoothProfile* profile,
|
| const base::Closure& callback,
|
| - const ConnectToProfileErrorCallback& error_callback) {
|
| + const ErrorCallback& error_callback) {
|
| if (static_cast<BluetoothProfileMac*>(profile)->Connect(device_))
|
| callback.Run();
|
| else
|
| - error_callback.Run(kFailedToConnect);
|
| + error_callback.Run();
|
| }
|
|
|
| void BluetoothDeviceMac::SetOutOfBandPairingData(
|
|
|