| Index: device/bluetooth/bluetooth_adapter_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm
|
| index f02859d3719a9ce5ebbb81a64a2c8837fed9d154..79e434ab020c0dcfb193af10e53ce2318a8429b9 100644
|
| --- a/device/bluetooth/bluetooth_adapter_mac.mm
|
| +++ b/device/bluetooth/bluetooth_adapter_mac.mm
|
| @@ -24,6 +24,7 @@
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "base/time/time.h"
|
| +#include "device/bluetooth/bluetooth_adapter_mac_metrics.h"
|
| #include "device/bluetooth/bluetooth_classic_device_mac.h"
|
| #include "device/bluetooth/bluetooth_common.h"
|
| #include "device/bluetooth/bluetooth_discovery_session.h"
|
| @@ -699,6 +700,7 @@ void BluetoothAdapterMac::DidFailToConnectPeripheral(CBPeripheral* peripheral,
|
| [low_energy_central_manager_ cancelPeripheralConnection:peripheral];
|
| return;
|
| }
|
| + LogDidFailToConnectPeripheralErrorToHistogram(error);
|
| BluetoothDevice::ConnectErrorCode error_code =
|
| BluetoothDevice::ConnectErrorCode::ERROR_UNKNOWN;
|
| if (error) {
|
|
|