blob: 29f130b7489a8a08b27350a4d23bb8c3de4c2dea [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.
module device.usb;
import "device.mojom";
import "device_manager.mojom";
interface ChooserService {
// Get permission from user to use the device.
//
// |device_filters| filters the available devices and the filtered
// devices will be listed for user to grant permission.
//
// |result| is the device that user grants permission to use.
GetPermission(array<device.usb.DeviceFilter> device_filters)
=> (device.usb.DeviceInfo? result);
};