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

Unified Diff: device/usb/usb_descriptors.h

Issue 2702623002: Add support for reading USB descriptors to the new Windows backend. (Closed)
Patch Set: Addressed rockot@'s feedback and rebased. Created 3 years, 10 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/usb/BUILD.gn ('k') | device/usb/usb_descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_descriptors.h
diff --git a/device/usb/usb_descriptors.h b/device/usb/usb_descriptors.h
index c25d51a2136ba9bd1cfc0a328b9a897a9b8e1b6b..9039c957100108c790a848284882deb2a8d7cdf6 100644
--- a/device/usb/usb_descriptors.h
+++ b/device/usb/usb_descriptors.h
@@ -133,6 +133,9 @@ struct UsbDeviceDescriptor {
uint16_t vendor_id = 0;
uint16_t product_id = 0;
uint16_t device_version = 0;
+ uint8_t i_manufacturer = 0;
+ uint8_t i_product = 0;
+ uint8_t i_serial_number = 0;
uint8_t num_configurations = 0;
std::vector<UsbConfigDescriptor> configurations;
};
« no previous file with comments | « device/usb/BUILD.gn ('k') | device/usb/usb_descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698