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

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

Issue 1854483002: Remove WebUSB descriptor data from device.mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_interface_associations
Patch Set: Rebased. Created 4 years, 8 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/type_converters.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/public/interfaces/device.mojom
diff --git a/device/usb/public/interfaces/device.mojom b/device/usb/public/interfaces/device.mojom
index 354c27e85de8b0fd076f46ca69dabdccd7f465d9..70c83b6a430e655669cd5b46b596e23cb4ccc36d 100644
--- a/device/usb/public/interfaces/device.mojom
+++ b/device/usb/public/interfaces/device.mojom
@@ -58,9 +58,6 @@ struct AlternateInterfaceInfo {
struct InterfaceInfo {
uint8 interface_number;
- // Interface number of the first interface in the function to which this
- // interface belongs.
- uint8 first_interface;
array<AlternateInterfaceInfo> alternates;
};
@@ -70,22 +67,6 @@ struct ConfigurationInfo {
array<InterfaceInfo> interfaces;
};
-struct WebUsbFunctionSubset {
- uint8 first_interface;
- array<string> origins;
-};
-
-struct WebUsbConfigurationSubset {
- uint8 configuration_value;
- array<string> origins;
- array<WebUsbFunctionSubset> functions;
-};
-
-struct WebUsbDescriptorSet {
- array<string> origins;
- array<WebUsbConfigurationSubset> configurations;
-};
-
struct DeviceInfo {
string guid;
uint8 usb_version_major;
@@ -104,7 +85,6 @@ struct DeviceInfo {
string? serial_number;
uint8 active_configuration;
array<ConfigurationInfo> configurations;
- WebUsbDescriptorSet? webusb_allowed_origins;
};
struct ControlTransferParams {
« no previous file with comments | « device/usb/mojo/type_converters.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698