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

Unified Diff: Source/modules/bluetooth/BluetoothInteraction.idl

Issue 1066933008: bluetooth: Refactor Bluetooth and Stub out BluetoothInteraction. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bluetooth-uuids-fix-casing-2
Patch Set: Created 5 years, 8 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 | « Source/modules/bluetooth/BluetoothInteraction.h ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/BluetoothInteraction.idl
diff --git a/Source/modules/bluetooth/BluetoothInteraction.idl b/Source/modules/bluetooth/BluetoothInteraction.idl
new file mode 100644
index 0000000000000000000000000000000000000000..61698cfe74fc9235045bf36c42a3e4ef61f287ae
--- /dev/null
+++ b/Source/modules/bluetooth/BluetoothInteraction.idl
@@ -0,0 +1,18 @@
+// Copyright 2015 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.
+
+// https://webbluetoothcg.github.io/web-bluetooth/#idl-def-bluetoothinteraction
+
+// Implement BluetoothInteraction interface: https://crbug.com/476985
+
+[
+ GarbageCollected,
+ NoInterfaceObject,
+ RuntimeEnabled=Bluetooth,
+] interface BluetoothInteraction {
+ // readonly attribute BluetoothUUIDs uuids;
+ // Promise<BluetoothGATTService> getService(DOMString serviceInstanceID);
+ // Promise<BluetoothGATTCharacteristic> getCharacteristic(DOMString characteristicInstanceID);
+ // Promise<BluetoothGATTDescriptor> getDescriptor(DOMString descriptorInstanceID);
+};
« no previous file with comments | « Source/modules/bluetooth/BluetoothInteraction.h ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698