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

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

Issue 1775953004: bluetooth: Move writeValue to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Moar cleanup Created 4 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: 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
new file mode 100644
index 0000000000000000000000000000000000000000..440f40d8177e10aec1c8556a32115d3ad158da2c
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module blink.mojom;
+
+enum WebBluetoothError {
+ SUCCESS,
+ // InvalidModificationError:
+ GATT_INVALID_ATTRIBUTE_LENGTH,
+ // InvalidStateError:
+ SERVICE_NO_LONGER_EXISTS,
+ CHARACTERISTIC_NO_LONGER_EXISTS,
+ // NetworkError:
+ DEVICE_NO_LONGER_IN_RANGE,
+ GATT_NOT_PAIRED,
+ GATT_OPERATION_IN_PROGRESS,
+ // NotSupportedError:
+ GATT_UNKNOWN_ERROR,
+ GATT_UNKNOWN_FAILURE,
+ GATT_NOT_PERMITTED,
+ GATT_NOT_SUPPORTED,
+ GATT_UNTRANSLATED_ERROR_CODE,
+ // SecurityError:
+ GATT_NOT_AUTHORIZED,
+ BLACKLISTED_WRITE
+};

Powered by Google App Engine
This is Rietveld 408576698