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

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

Issue 2459523002: bluetooth: Return specific error if getPrimaryServices() is called without requesting access to any… (Closed)
Patch Set: Created 4 years, 2 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: 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 c641728ca7719b88caac7fe76d7ab9c7c8cc9add..3b2fa0a69bf2a3479449a6317d4ff12156d5f90a 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
+++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
@@ -64,6 +64,7 @@ enum WebBluetoothResult {
BLACKLISTED_CHARACTERISTIC_UUID,
BLACKLISTED_READ,
BLACKLISTED_WRITE,
+ NOT_ALLOWED_TO_ACCESS_ANY_SERVICE,
NOT_ALLOWED_TO_ACCESS_SERVICE,
REQUEST_DEVICE_WITH_BLACKLISTED_UUID,
REQUEST_DEVICE_FROM_CROSS_ORIGIN_IFRAME,

Powered by Google App Engine
This is Rietveld 408576698