blob: d5d3522acf8bbf92f211ee95e09dbdfae2ba2e39 [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module device.mojom;
import "mojo/public/mojom/base/string16.mojom";
struct UsbDeviceFilter {
bool has_vendor_id;
uint16 vendor_id;
bool has_product_id;
uint16 product_id;
bool has_class_code;
uint8 class_code;
bool has_subclass_code;
uint8 subclass_code;
bool has_protocol_code;
uint8 protocol_code;
mojo_base.mojom.String16? serial_number;
};
struct UsbEnumerationOptions {
array<UsbDeviceFilter> filters;
};