| Index: device/bluetooth/bluetooth_device.h
|
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
|
| index a28bc9e244b9a2d54a308fceca4135147b1d251c..845c89a15febd1ca4f6d6cdc3d44172b58af8fed 100644
|
| --- a/device/bluetooth/bluetooth_device.h
|
| +++ b/device/bluetooth/bluetooth_device.h
|
| @@ -92,14 +92,22 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
|
| // Possible errors passed back to an error callback function in case of a
|
| // failed call to Connect().
|
| enum ConnectErrorCode {
|
| - ERROR_UNKNOWN,
|
| - ERROR_INPROGRESS,
|
| - ERROR_FAILED,
|
| - ERROR_AUTH_FAILED,
|
| + ERROR_ATTRIBUTE_LENGTH_INVALID,
|
| ERROR_AUTH_CANCELED,
|
| + ERROR_AUTH_FAILED,
|
| ERROR_AUTH_REJECTED,
|
| ERROR_AUTH_TIMEOUT,
|
| - ERROR_UNSUPPORTED_DEVICE
|
| + ERROR_CONNECTION_CONGESTED,
|
| + ERROR_FAILED,
|
| + ERROR_INPROGRESS,
|
| + ERROR_INSUFFICIENT_ENCRYPTION,
|
| + ERROR_OFFSET_INVALID,
|
| + ERROR_READ_NOT_PERMITTED,
|
| + ERROR_REQUEST_NOT_SUPPORTED,
|
| + ERROR_UNKNOWN,
|
| + ERROR_UNSUPPORTED_DEVICE,
|
| + ERROR_WRITE_NOT_PERMITTED,
|
| + NUM_CONNECT_ERROR_CODES // Keep as last enum.
|
| };
|
|
|
| typedef std::vector<BluetoothUUID> UUIDList;
|
|
|