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

Unified Diff: device/usb/usb_device_handle_impl.h

Issue 580963002: Add a service to track devices selected by the user. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/usb_device_handle_impl.h
diff --git a/device/usb/usb_device_handle_impl.h b/device/usb/usb_device_handle_impl.h
index 0498f263cf1f739edbbe13a79657b4b606128bdd..110b7ae240bb46783f0ebffbeb9a4d9259cd8208 100644
--- a/device/usb/usb_device_handle_impl.h
+++ b/device/usb/usb_device_handle_impl.h
@@ -44,39 +44,39 @@ class UsbDeviceHandleImpl : public UsbDeviceHandle {
virtual bool GetManufacturer(base::string16* manufacturer) OVERRIDE;
virtual bool GetProduct(base::string16* product) OVERRIDE;
virtual bool GetSerial(base::string16* serial) OVERRIDE;
- virtual void ControlTransfer(const UsbEndpointDirection direction,
- const TransferRequestType request_type,
- const TransferRecipient recipient,
- const uint8 request,
- const uint16 value,
- const uint16 index,
+ virtual void ControlTransfer(UsbEndpointDirection direction,
+ TransferRequestType request_type,
+ TransferRecipient recipient,
+ uint8 request,
+ uint16 value,
+ uint16 index,
net::IOBuffer* buffer,
- const size_t length,
- const unsigned int timeout,
+ size_t length,
+ unsigned int timeout,
const UsbTransferCallback& callback) OVERRIDE;
- virtual void BulkTransfer(const UsbEndpointDirection direction,
- const uint8 endpoint,
+ virtual void BulkTransfer(UsbEndpointDirection direction,
+ uint8 endpoint,
net::IOBuffer* buffer,
- const size_t length,
- const unsigned int timeout,
+ size_t length,
+ unsigned int timeout,
const UsbTransferCallback& callback) OVERRIDE;
- virtual void InterruptTransfer(const UsbEndpointDirection direction,
- const uint8 endpoint,
+ virtual void InterruptTransfer(UsbEndpointDirection direction,
+ uint8 endpoint,
net::IOBuffer* buffer,
- const size_t length,
- const unsigned int timeout,
+ size_t length,
+ unsigned int timeout,
const UsbTransferCallback& callback) OVERRIDE;
virtual void IsochronousTransfer(
- const UsbEndpointDirection direction,
- const uint8 endpoint,
+ UsbEndpointDirection direction,
+ uint8 endpoint,
net::IOBuffer* buffer,
- const size_t length,
- const unsigned int packets,
- const unsigned int packet_length,
- const unsigned int timeout,
+ size_t length,
+ unsigned int packets,
+ unsigned int packet_length,
+ unsigned int timeout,
const UsbTransferCallback& callback) OVERRIDE;
PlatformUsbDeviceHandle handle() const { return handle_; }

Powered by Google App Engine
This is Rietveld 408576698