| Index: device/bluetooth/bluetooth_device_chromeos.cc
|
| diff --git a/device/bluetooth/bluetooth_device_chromeos.cc b/device/bluetooth/bluetooth_device_chromeos.cc
|
| index a7c7b83f10f7918fb3cc3a0e0536a773de5c617e..6fe7ca129b87f9ddc3056ce327b34877bf016fd0 100644
|
| --- a/device/bluetooth/bluetooth_device_chromeos.cc
|
| +++ b/device/bluetooth/bluetooth_device_chromeos.cc
|
| @@ -353,7 +353,7 @@ void BluetoothDeviceChromeOS::ConnectToService(
|
| void BluetoothDeviceChromeOS::ConnectToProfile(
|
| device::BluetoothProfile* profile,
|
| const base::Closure& callback,
|
| - const ErrorCallback& error_callback) {
|
| + const ConnectToProfileErrorCallback& error_callback) {
|
| BluetoothProfileChromeOS* profile_chromeos =
|
| static_cast<BluetoothProfileChromeOS*>(profile);
|
| VLOG(1) << object_path_.value() << ": Connecting profile: "
|
| @@ -581,7 +581,7 @@ void BluetoothDeviceChromeOS::OnConnectProfileError(
|
| VLOG(1) << object_path_.value() << ": Profile connection failed: "
|
| << profile_chromeos->uuid() << ": "
|
| << error_name << ": " << error_message;
|
| - error_callback.Run();
|
| + error_callback.Run(error_message);
|
| }
|
|
|
| } // namespace chromeos
|
|
|