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

Unified Diff: device/usb/fake_usb_device_handle.h

Issue 2821813002: Use Mojo enum types in the C++ USB interface (Closed)
Patch Set: Fix up //device/usb dependencies in //extensions/browser/api Created 3 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/BUILD.gn ('k') | device/usb/fake_usb_device_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/fake_usb_device_handle.h
diff --git a/device/usb/fake_usb_device_handle.h b/device/usb/fake_usb_device_handle.h
index 121a287a3b00fcde4af5f11ab2ce633815232b10..aa48ad75be461412db17ede017c21a06cf8840f4 100644
--- a/device/usb/fake_usb_device_handle.h
+++ b/device/usb/fake_usb_device_handle.h
@@ -37,9 +37,9 @@ class FakeUsbDeviceHandle : public UsbDeviceHandle {
void ResetDevice(const ResultCallback& callback) override;
void ClearHalt(uint8_t endpoint, const ResultCallback& callback) override;
- void ControlTransfer(UsbEndpointDirection direction,
- TransferRequestType request_type,
- TransferRecipient recipient,
+ void ControlTransfer(UsbTransferDirection direction,
+ UsbControlTransferType request_type,
+ UsbControlTransferRecipient recipient,
uint8_t request,
uint16_t value,
uint16_t index,
@@ -61,7 +61,7 @@ class FakeUsbDeviceHandle : public UsbDeviceHandle {
unsigned int timeout,
const IsochronousTransferCallback& callback) override;
- void GenericTransfer(UsbEndpointDirection direction,
+ void GenericTransfer(UsbTransferDirection direction,
uint8_t endpoint_number,
scoped_refptr<net::IOBuffer> buffer,
size_t length,
« no previous file with comments | « device/usb/BUILD.gn ('k') | device/usb/fake_usb_device_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698