Index: device/bluetooth/bluetooth_device_experimental_chromeos.cc |
diff --git a/device/bluetooth/bluetooth_device_experimental_chromeos.cc b/device/bluetooth/bluetooth_device_experimental_chromeos.cc |
index fb45ad0b751aef0ff47c5b4fc502551a188d0a5d..35478d9322d632e6ea7b44fd6a9b1593e762c85c 100644 |
--- a/device/bluetooth/bluetooth_device_experimental_chromeos.cc |
+++ b/device/bluetooth/bluetooth_device_experimental_chromeos.cc |
@@ -682,6 +682,8 @@ void BluetoothDeviceExperimentalChromeOS::OnPairError( |
ConnectErrorCode error_code = ERROR_UNKNOWN; |
if (error_name == bluetooth_adapter::kErrorConnectionAttemptFailed) { |
error_code = ERROR_FAILED; |
+ } else if (error_name == bluetooth_adapter::kErrorFailed) { |
+ error_code = ERROR_FAILED; |
} else if (error_name == bluetooth_adapter::kErrorAuthenticationFailed) { |
error_code = ERROR_AUTH_FAILED; |
} else if (error_name == bluetooth_adapter::kErrorAuthenticationCanceled) { |