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

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

Issue 1358763004: Implement getConfiguration in WebUSBDeviceImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_impl.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/device.mojom
diff --git a/device/devices_app/usb/public/interfaces/device.mojom b/device/devices_app/usb/public/interfaces/device.mojom
index a5e2905ed32948adef105abde36bb0c263c03259..45797b7495da39173097b03fe4d820665b3eaf40 100644
--- a/device/devices_app/usb/public/interfaces/device.mojom
+++ b/device/devices_app/usb/public/interfaces/device.mojom
@@ -141,9 +141,9 @@ interface Device {
// including the set of all available device configurations.
GetDeviceInfo() => (DeviceInfo? info);
- // Retrieves the device's currently active configuration. May return null if
- // the device is unconfigured.
- GetConfiguration() => (ConfigurationInfo? info);
+ // Retrieves the |configuration_value| of the device's currently active
+ // configuration. Will return 0 if the device is unconfigured.
+ GetConfiguration() => (uint8 value);
// Opens the device. Methods below require the device be opened first.
Open() => (OpenDeviceError error);
« no previous file with comments | « device/devices_app/usb/device_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698