Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 1464443002: bluetooth: android: Add BluetoothDevice::ConnectErrorCode enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: III Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index 809417dbee2e6cc4f751a55dcd77ae3ebfdcc897..3d7d8f6801ecd1b1bbdfcc69e97824323ca357ee 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -89,14 +89,21 @@ 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_FAILED,
scheib 2015/11/26 00:02:51 ERROR_READ_NOT_PERMITTED
+ ERROR_REQUEST_NOT_SUPPORTED,
+ ERROR_UNKNOWN,
+ ERROR_UNSUPPORTED_DEVICE,
+ ERROR_WRITE_FAILED
scheib 2015/11/26 00:02:51 ERROR_WRITE_NOT_PERMITTED
Kai Jiang 2015/11/29 10:40:51 Done.
};
typedef std::vector<BluetoothUUID> UUIDList;

Powered by Google App Engine
This is Rietveld 408576698