| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module webusb; | |
| 6 | |
| 7 import "device/devices_app/usb/public/interfaces/device.mojom"; | |
| 8 import "device/devices_app/usb/public/interfaces/device_manager.mojom"; | |
| 9 | |
| 10 interface WebUsbPermissionBubble { | |
| 11 // Get permission from user to use the device. | |
| 12 // | |
| 13 // |device_filters| filters the available devices and the filtered | |
| 14 // devices will be listed for user to grant permission. | |
| 15 // | |
| 16 // |result| is the device that user grants permission to use. | |
| 17 GetPermission(array<device.usb.DeviceFilter> device_filters) | |
| 18 => (device.usb.DeviceInfo? result); | |
| 19 }; | |
| OLD | NEW |