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

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: Sync, update a test, and some tweaks 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
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/* = []*/;
+ // TODO: Fix https://crbug.com/500638 and uncomment the default value above.
+};

Powered by Google App Engine
This is Rietveld 408576698