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

Unified Diff: device/usb/usb_device_impl.cc

Issue 1707453002: Reland of Parse USB interface association descriptors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 9 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/usb_descriptors_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_impl.cc
diff --git a/device/usb/usb_device_impl.cc b/device/usb/usb_device_impl.cc
index 19b52c9d60a639984d3edff28f9ee5eaf508b56d..d6132046fdd3e6382ec217fa18c3b16c9891fbe3 100644
--- a/device/usb/usb_device_impl.cc
+++ b/device/usb/usb_device_impl.cc
@@ -135,6 +135,8 @@ void ConvertConfigDescriptor(const libusb_config_descriptor* platform_config,
configuration->extra_data.assign(
platform_config->extra,
platform_config->extra + platform_config->extra_length);
+
+ configuration->AssignFirstInterfaceNumbers();
}
} // namespace
« no previous file with comments | « device/usb/usb_descriptors_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698