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 struct DeviceFilter { | 9 struct DeviceFilter { |
10 bool has_vendor_id; | 10 bool has_vendor_id; |
(...skipping 27 matching lines...) Expand all Loading... |
38 GetDevices(EnumerationOptions? options) => (array<DeviceInfo> results); | 38 GetDevices(EnumerationOptions? options) => (array<DeviceInfo> results); |
39 | 39 |
40 // Retrieves information about changes to the set of devices available to the | 40 // Retrieves information about changes to the set of devices available to the |
41 // DeviceManager since the last call to this method. A device that is added | 41 // DeviceManager since the last call to this method. A device that is added |
42 // and removed between calls will not be included. | 42 // and removed between calls will not be included. |
43 GetDeviceChanges() => (DeviceChangeNotification changes); | 43 GetDeviceChanges() => (DeviceChangeNotification changes); |
44 | 44 |
45 // Requests a device by guid. | 45 // Requests a device by guid. |
46 GetDevice(string guid, Device& device_request); | 46 GetDevice(string guid, Device& device_request); |
47 }; | 47 }; |
OLD | NEW |