blob: 304ac02df3c99dad5894ed889a2d03f32e2831a8 [file] [log] [blame]
// Copyright 2019 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.
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;
};