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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom

Issue 2680783002: bluetooth: show better error messages for services, characteristics and descriptors (Closed)
Patch Set: Added comment and changed to enum class. Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
index 43ac52f4eb03240f67985e71cd4592ad660db64d..ddd5fd76bd75bc6ee6b70ad78327bb766cce8750 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
+++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
@@ -70,6 +70,10 @@ enum WebBluetoothResult {
DEVICE_NO_LONGER_IN_RANGE,
GATT_NOT_PAIRED,
GATT_OPERATION_IN_PROGRESS,
+ GATT_SERVER_DISCONNECTED,
+ GATT_SERVER_NOT_CONNECTED,
+ GATT_SERVER_DISCONNECTED_WHILE_RETRIEVING_CHARACTERISTICS,
+ GATT_SERVER_NOT_CONNECTED_CANNOT_RETRIEVE_CHARACTERISTICS,
UNTRANSLATED_CONNECT_ERROR_CODE,
// NotFoundError:
NO_BLUETOOTH_ADAPTER,
@@ -102,7 +106,6 @@ enum WebBluetoothResult {
NOT_ALLOWED_TO_ACCESS_SERVICE,
REQUEST_DEVICE_WITH_BLOCKLISTED_UUID,
REQUEST_DEVICE_FROM_CROSS_ORIGIN_IFRAME,
- REQUEST_DEVICE_WITHOUT_FRAME,
DESCRIPTOR_NO_LONGER_EXISTS,
};
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTUtils.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698