blob: 5186f45f15865efa312a1cfbe0b10d4eba7635e8 [file] [log] [blame]
// 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