mac: Let IPhotoDataProvider::GetAlbumNames() return albums in a deterministic order.
[chromium-blink-merge.git] / device / devices_app / usb / public / interfaces / permission_provider.mojom
blob1ed6d6eabd67ec245a76ebf4042b4272d03320c4
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.
5 module device.usb;
7 import "device.mojom";
9 interface PermissionProvider {
10   // Filters a set of |requested_devices| down to the set of |allowed_guids|
11   // that should be accessible to clients of the DeviceManager instance.
12   HasDevicePermission(array<DeviceInfo> requested_devices)
13       => (array<string> allowed_guids);