| Index: device/devices_app/usb/public/interfaces/permission_provider.mojom
|
| diff --git a/device/devices_app/usb/public/interfaces/permission_provider.mojom b/device/devices_app/usb/public/interfaces/permission_provider.mojom
|
| index 1ed6d6eabd67ec245a76ebf4042b4272d03320c4..f5d71110e581b3e5ca243055b6d027a4514b1ae1 100644
|
| --- a/device/devices_app/usb/public/interfaces/permission_provider.mojom
|
| +++ b/device/devices_app/usb/public/interfaces/permission_provider.mojom
|
| @@ -11,4 +11,19 @@ interface PermissionProvider {
|
| // that should be accessible to clients of the DeviceManager instance.
|
| HasDevicePermission(array<DeviceInfo> requested_devices)
|
| => (array<string> allowed_guids);
|
| +
|
| + // Returns whether or not the client has permission to access
|
| + // |requested_configuration| on |device|.
|
| + HasConfigurationPermission(uint8 requested_configuration,
|
| + DeviceInfo device) => (bool allowed);
|
| +
|
| + // Returns whether or not the client has permission to access
|
| + // |requested_interface| on |device| when it is in configuration
|
| + // |configuration_value|.
|
| + HasInterfacePermission(uint8 requested_interface,
|
| + uint8 configuration_value,
|
| + DeviceInfo device) => (bool allowed);
|
| +
|
| + // Requests a new binding to this service.
|
| + Bind(PermissionProvider& request);
|
| };
|
|
|