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

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

Issue 1052023004: bluetooth: Stub out BluetoothGattRemoteServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: Source/modules/bluetooth/BluetoothGATTRemoteServer.idl
diff --git a/Source/modules/bluetooth/BluetoothGATTRemoteServer.idl b/Source/modules/bluetooth/BluetoothGATTRemoteServer.idl
new file mode 100644
index 0000000000000000000000000000000000000000..5eb8c2fa51480e87449dcf42cd4c94f4729bef84
--- /dev/null
+++ b/Source/modules/bluetooth/BluetoothGATTRemoteServer.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-BluetoothGATTRemoteServer
+
+// Implement BluetoothGATTRemoteServer interface: https://crbug.com/476735
Jeffrey Yasskin 2015/04/14 01:39:22 I'm skeptical of the bug reference here. I don't t
scheib 2015/04/14 18:25:42 Spec reference is style guide. Bug reference is a
ortuno 2015/04/14 19:31:21 Ack.
+
+[
+ GarbageCollected,
+ RuntimeEnabled=Bluetooth,
+] interface BluetoothGATTRemoteServer {
+ // readonly attribute BluetoothDevice device;
+ // readonly attribute boolean connected;
+ // void disconnect ();
+ // Promise<BluetoothGATTService> getPrimaryService (BluetoothServiceUuid service);
+ // Promise<sequence<BluetoothGATTService>> getPrimaryServices (optional BluetoothServiceUuid service);
+};

Powered by Google App Engine
This is Rietveld 408576698