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

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

Issue 1182973002: Implement the Blink side of RequestDeviceOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Prepare readValue.html for a mock data change Created 5 years, 6 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/BluetoothScanFilter.idl ('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/RequestDeviceOptions.idl
diff --git a/Source/modules/bluetooth/RequestDeviceOptions.idl b/Source/modules/bluetooth/RequestDeviceOptions.idl
new file mode 100644
index 0000000000000000000000000000000000000000..dc1bd30626f5e87850b2ebd99184419738e29b99
--- /dev/null
+++ b/Source/modules/bluetooth/RequestDeviceOptions.idl
@@ -0,0 +1,11 @@
+// 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-requestdeviceoptions
+
+dictionary RequestDeviceOptions {
+ required sequence<BluetoothScanFilter> filters;
+ sequence<BluetoothServiceUUID> optionalServices/* = []*/;
ortuno 2015/06/24 19:35:51 Do you know if a dictionary can have sequence of u
Jeffrey Yasskin 2015/06/24 22:33:30 WebIDL doesn't say anything about it not working,
+ // TODO: Fix https://crbug.com/500638 and uncomment the default value above.
+};
« no previous file with comments | « Source/modules/bluetooth/BluetoothScanFilter.idl ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698