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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.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: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index 98d7d6498c22e76732c32aac0befe0cadb24c565..2604dd5c87ff56f9c43aa37c37cfd62c9bd09645 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -57,21 +57,26 @@ class BluetoothLowEnergyEventRouter
kStatusSuccess = 0,
kStatusErrorAlreadyConnected,
kStatusErrorAlreadyNotifying,
+ kStatusErrorAttributeLengthInvalid,
kStatusErrorAuthenticationFailed,
kStatusErrorCanceled,
+ kStatusErrorConnectionCongested,
kStatusErrorFailed,
kStatusErrorGattNotSupported,
kStatusErrorHigherSecurity,
kStatusErrorInProgress,
kStatusErrorInsufficientAuthorization,
+ kStatusErrorInsufficientEncryption,
+ kStatusErrorInvalidArguments,
kStatusErrorInvalidLength,
kStatusErrorNotConnected,
kStatusErrorNotFound,
kStatusErrorNotNotifying,
+ kStatusErrorOffsetInvalid,
kStatusErrorPermissionDenied,
+ kStatusErrorRequestNotSupported,
kStatusErrorTimeout,
kStatusErrorUnsupportedDevice,
- kStatusErrorInvalidArguments,
};
// Error callback is used by asynchronous methods to report failures.

Powered by Google App Engine
This is Rietveld 408576698