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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2727683003: bluetooth: Clean up connection errors (Closed)
Patch Set: merge Created 3 years, 9 months 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 e0545fa27677ab9cf877fd46184a886deddb402f..8a5d0638574d8b3596bf2b7b2c114cfc58cd824c 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -77,21 +77,14 @@ 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_ATTRIBUTE_LENGTH_INVALID,
ERROR_AUTH_CANCELED,
ERROR_AUTH_FAILED,
ERROR_AUTH_REJECTED,
ERROR_AUTH_TIMEOUT,
- 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.
};

Powered by Google App Engine
This is Rietveld 408576698