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

Unified Diff: device/usb/usb_device_handle_win.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/usb_device_handle_usbfs.cc ('k') | device/usb/usb_device_handle_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_handle_win.h
diff --git a/device/usb/usb_device_handle_win.h b/device/usb/usb_device_handle_win.h
index 69e6e28e3152e1986ffe08c6d3a83f8f80a030b4..75b65f644f5a1a44e08a39598eecde8682d65db1 100644
--- a/device/usb/usb_device_handle_win.h
+++ b/device/usb/usb_device_handle_win.h
@@ -46,9 +46,9 @@ class UsbDeviceHandleWin : 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,
@@ -70,7 +70,7 @@ class UsbDeviceHandleWin : 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/usb_device_handle_usbfs.cc ('k') | device/usb/usb_device_handle_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698