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

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

Issue 1854483002: Remove WebUSB descriptor data from device.mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_interface_associations
Patch Set: 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
Index: device/usb/mojo/type_converters.h
diff --git a/device/usb/mojo/type_converters.h b/device/usb/mojo/type_converters.h
index 002bb797ffdbad2e34f4bac2535926a024669310..d9031e2e06f76f9a86bfc5958e05b132be376637 100644
--- a/device/usb/mojo/type_converters.h
+++ b/device/usb/mojo/type_converters.h
@@ -12,7 +12,6 @@
#include "device/usb/usb_descriptors.h"
#include "device/usb/usb_device_filter.h"
#include "device/usb/usb_device_handle.h"
-#include "device/usb/webusb_descriptors.h"
#include "mojo/public/cpp/bindings/array.h"
#include "mojo/public/cpp/bindings/type_converter.h"
@@ -97,27 +96,6 @@ struct TypeConverter<device::usb::ConfigurationInfoPtr,
};
template <>
-struct TypeConverter<device::usb::WebUsbFunctionSubsetPtr,
- device::WebUsbFunctionSubset> {
- static device::usb::WebUsbFunctionSubsetPtr Convert(
- const device::WebUsbFunctionSubset& function);
-};
-
-template <>
-struct TypeConverter<device::usb::WebUsbConfigurationSubsetPtr,
- device::WebUsbConfigurationSubset> {
- static device::usb::WebUsbConfigurationSubsetPtr Convert(
- const device::WebUsbConfigurationSubset& config);
-};
-
-template <>
-struct TypeConverter<device::usb::WebUsbDescriptorSetPtr,
- device::WebUsbAllowedOrigins> {
- static device::usb::WebUsbDescriptorSetPtr Convert(
- const device::WebUsbAllowedOrigins& allowed_origins);
-};
-
-template <>
struct TypeConverter<device::usb::DeviceInfoPtr, device::UsbDevice> {
static device::usb::DeviceInfoPtr Convert(const device::UsbDevice& device);
};

Powered by Google App Engine
This is Rietveld 408576698