| Index: public/platform/modules/bluetooth/WebRequestDeviceOptions.h
|
| diff --git a/public/platform/modules/bluetooth/WebRequestDeviceOptions.h b/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5186f45f15865efa312a1cfbe0b10d4eba7635e8
|
| --- /dev/null
|
| +++ b/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
|
| @@ -0,0 +1,36 @@
|
| +// 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.
|
| +
|
| +#ifndef WebRequestDeviceOptions_h
|
| +#define WebRequestDeviceOptions_h
|
| +
|
| +#include "public/platform/WebString.h"
|
| +#include "public/platform/WebVector.h"
|
| +
|
| +namespace blink {
|
| +
|
| +// Contains members corresponding to BluetoothScanFilter members as
|
| +// specified in the IDL.
|
| +struct WebBluetoothScanFilter {
|
| + WebBluetoothScanFilter() { }
|
| + WebBluetoothScanFilter(const WebVector<WebString>& services)
|
| + : services(services)
|
| + {
|
| + }
|
| +
|
| + WebVector<WebString> services;
|
| +};
|
| +
|
| +// Contains members corresponding to RequestDeviceOptions members as
|
| +// specified in the IDL.
|
| +struct WebRequestDeviceOptions {
|
| + WebRequestDeviceOptions() { }
|
| +
|
| + WebVector<WebBluetoothScanFilter> filters;
|
| + WebVector<WebString> optionalServices;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebRequestDeviceOptions_h
|
|
|