| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebRequestDeviceOptions_h |
| 6 #define WebRequestDeviceOptions_h |
| 7 |
| 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/WebVector.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 // Contains members corresponding to BluetoothScanFilter members as |
| 14 // specified in the IDL. |
| 15 struct WebBluetoothScanFilter { |
| 16 WebBluetoothScanFilter() { } |
| 17 WebBluetoothScanFilter(const WebVector<WebString>& services) |
| 18 : services(services) |
| 19 { |
| 20 } |
| 21 |
| 22 WebVector<WebString> services; |
| 23 }; |
| 24 |
| 25 // Contains members corresponding to RequestDeviceOptions members as |
| 26 // specified in the IDL. |
| 27 struct WebRequestDeviceOptions { |
| 28 WebRequestDeviceOptions() { } |
| 29 |
| 30 WebVector<WebBluetoothScanFilter> filters; |
| 31 WebVector<WebString> optionalServices; |
| 32 }; |
| 33 |
| 34 } // namespace blink |
| 35 |
| 36 #endif // WebRequestDeviceOptions_h |
| OLD | NEW |