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

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

Issue 1316203006: Convert DeviceManagerDelegate to PermissionProvider mojo interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment and move ctor. 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
Index: device/devices_app/usb/public/interfaces/device_manager.mojom
diff --git a/device/devices_app/usb/public/interfaces/device_manager.mojom b/device/devices_app/usb/public/interfaces/device_manager.mojom
index ffb05d52057ab4b0938556605c713150adfeafad..a2d20ae011622b5d545072328a99c6564c629621 100644
--- a/device/devices_app/usb/public/interfaces/device_manager.mojom
+++ b/device/devices_app/usb/public/interfaces/device_manager.mojom
@@ -35,7 +35,7 @@ struct DeviceFilter {
};
struct EnumerationOptions {
- array<DeviceFilter> filters;
+ array<DeviceFilter>? filters;
};
struct DeviceChangeNotification {
@@ -46,12 +46,11 @@ struct DeviceChangeNotification {
interface DeviceManager {
// Retrieves information about all devices available to the DeviceManager
// implementation.
- GetDevices(EnumerationOptions options) => (array<DeviceInfo> results);
+ GetDevices(EnumerationOptions? options) => (array<DeviceInfo> results);
// Retrieves information about changes to the set of devices available to the
- // DeviceManager since the last call to this method. The first call will
- // return the set of all devices available. Device added and removed between
- // calls will not be included.
+ // DeviceManager since the last call to this method. A device that is added
+ // and removed between calls will not be included.
GetDeviceChanges() => (DeviceChangeNotification changes);
// Attempts to open a device given its GUID.
« no previous file with comments | « device/devices_app/usb/public/interfaces/BUILD.gn ('k') | device/devices_app/usb/public/interfaces/permission_provider.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698