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

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

Issue 1658953003: Revert of Update device/usb and its Mojo interface for variable size ISO packets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/devices_app/usb/type_converters.h ('k') | device/usb/mock_usb_device_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/usb/type_converters.cc
diff --git a/device/devices_app/usb/type_converters.cc b/device/devices_app/usb/type_converters.cc
index 709b0ca3621dcfe8514686b43bc230d1c20c1b04..e7b2ea627dc6201fab0971c0f9ee232392fae4f6 100644
--- a/device/devices_app/usb/type_converters.cc
+++ b/device/devices_app/usb/type_converters.cc
@@ -267,17 +267,4 @@
return info;
}
-// static
-device::usb::IsochronousPacketPtr
-TypeConverter<device::usb::IsochronousPacketPtr,
- device::UsbDeviceHandle::IsochronousPacket>::
- Convert(const device::UsbDeviceHandle::IsochronousPacket& packet) {
- device::usb::IsochronousPacketPtr info =
- device::usb::IsochronousPacket::New();
- info->length = packet.length;
- info->transferred_length = packet.transferred_length;
- info->status = mojo::ConvertTo<device::usb::TransferStatus>(packet.status);
- return info;
-}
-
} // namespace mojo
« no previous file with comments | « device/devices_app/usb/type_converters.h ('k') | device/usb/mock_usb_device_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698