Index: device/bluetooth/bluetooth_device_experimental_chromeos.cc |
=================================================================== |
--- device/bluetooth/bluetooth_device_experimental_chromeos.cc (revision 199511) |
+++ device/bluetooth/bluetooth_device_experimental_chromeos.cc (working copy) |
@@ -682,6 +682,8 @@ |
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) { |