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

Unified Diff: device/usb/mojo/type_converters.cc

Issue 1847183002: Use interface associations to check function permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit and fixed Windows build. 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/mojo/permission_provider.h ('k') | device/usb/public/interfaces/device.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mojo/type_converters.cc
diff --git a/device/usb/mojo/type_converters.cc b/device/usb/mojo/type_converters.cc
index b7bfd7fe0ccca69da1b9ac2775cc5c03fc51cd26..1761f0a4daecd8f391e493ce5132406bb725d960 100644
--- a/device/usb/mojo/type_converters.cc
+++ b/device/usb/mojo/type_converters.cc
@@ -186,6 +186,7 @@ TypeConverter<mojo::Array<device::usb::InterfaceInfoPtr>,
// number, so add a new InterfaceInfo to the array and map the number.
auto info = device::usb::InterfaceInfo::New();
info->interface_number = interfaces[i].interface_number;
+ info->first_interface = interfaces[i].first_interface;
iter = interface_map
.insert(
std::make_pair(interfaces[i].interface_number, info.get()))
« no previous file with comments | « device/usb/mojo/permission_provider.h ('k') | device/usb/public/interfaces/device.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698