| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module device.usb; | 5 module device.usb; |
| 6 | 6 |
| 7 import "device.mojom"; | 7 import "device.mojom"; |
| 8 | 8 |
| 9 interface PermissionProvider { | 9 interface PermissionProvider { |
| 10 // Filters a set of |requested_guids| down to the set of |allowed_guids| that | 10 // Filters a set of |requested_devices| down to the set of |allowed_guids| |
| 11 // should be accessible to clients of the DeviceManager instance. | 11 // that should be accessible to clients of the DeviceManager instance. |
| 12 HasDevicePermission(array<string> requested_guids) | 12 HasDevicePermission(array<DeviceInfo> requested_devices) |
| 13 => (array<string> allowed_guids); | 13 => (array<string> allowed_guids); |
| 14 }; | 14 }; |
| OLD | NEW |