Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: device/devices_app/usb/public/interfaces/permission_provider.mojom

Issue 1345793002: Use complete USB DeviceInfo Mojo object to make permission decisions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manager_full_remove
Patch Set: Rebased. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/devices_app/usb/device_manager_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 90fd0ea4bab4b16657ba49515c77eabca82d6da8..1ed6d6eabd67ec245a76ebf4042b4272d03320c4 100644
--- a/device/devices_app/usb/public/interfaces/permission_provider.mojom
+++ b/device/devices_app/usb/public/interfaces/permission_provider.mojom
@@ -7,8 +7,8 @@ module device.usb;
import "device.mojom";
interface PermissionProvider {
- // Filters a set of |requested_guids| down to the set of |allowed_guids| that
- // should be accessible to clients of the DeviceManager instance.
- HasDevicePermission(array<string> requested_guids)
+ // Filters a set of |requested_devices| down to the set of |allowed_guids|
+ // that should be accessible to clients of the DeviceManager instance.
+ HasDevicePermission(array<DeviceInfo> requested_devices)
=> (array<string> allowed_guids);
};
« no previous file with comments | « device/devices_app/usb/device_manager_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698