diff options
author | jiangkai <jiangkai@gmail.com> | 2016-01-11 12:11:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-11 20:12:42 +0000 |
commit | d730ca14bd3caced4f52617146969d72304c56e9 (patch) | |
tree | e3cf110b38f955006e09ee82a280b707905887b4 /extensions/common | |
parent | 37afebf7351a4918410829eac48f7125ed6fe3e3 (diff) | |
download | chromium_src-d730ca14bd3caced4f52617146969d72304c56e9.zip chromium_src-d730ca14bd3caced4f52617146969d72304c56e9.tar.gz chromium_src-d730ca14bd3caced4f52617146969d72304c56e9.tar.bz2 |
bluetooth: android: Add BluetoothDevice::ConnectErrorCode enums
increased ConnectErrorCode enum and cases in
BluetoothDeviceAndroid::OnConnectionStateChange
BUG=531058
Review URL: https://codereview.chromium.org/1464443002
Cr-Commit-Position: refs/heads/master@{#368649}
Diffstat (limited to 'extensions/common')
-rw-r--r-- | extensions/common/api/bluetooth_private.idl | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/extensions/common/api/bluetooth_private.idl b/extensions/common/api/bluetooth_private.idl index af6e893..45ffd72 100644 --- a/extensions/common/api/bluetooth_private.idl +++ b/extensions/common/api/bluetooth_private.idl @@ -45,16 +45,23 @@ namespace bluetoothPrivate { // Results for connect(). See function declaration for details. enum ConnectResultType { - success, - unknownError, - inProgress, alreadyConnected, - failed, - authFailed, + attributeLengthInvalid, authCanceled, + authFailed, authRejected, authTimeout, - unsupportedDevice + connectionCongested, + failed, + inProgress, + insufficientEncryption, + offsetInvalid, + readNotPermitted, + requestNotSupported, + success, + unknownError, + unsupportedDevice, + writeNotPermitted }; // Valid pairing responses. |