diff options
author | ikarienator@chromium.org <ikarienator@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-26 12:40:57 +0000 |
---|---|---|
committer | ikarienator@chromium.org <ikarienator@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-26 12:40:57 +0000 |
commit | d692a7c804728a3b83bfe8c40d10d95a6e30cace (patch) | |
tree | 0f15b052398794235c7e5be2f0ab907de012b55a /chrome/browser/usb/usb_device_handle.h | |
parent | 2a08226f8247ffd016fe81fc6f53a6936542e4df (diff) | |
download | chromium_src-d692a7c804728a3b83bfe8c40d10d95a6e30cace.zip chromium_src-d692a7c804728a3b83bfe8c40d10d95a6e30cace.tar.gz chromium_src-d692a7c804728a3b83bfe8c40d10d95a6e30cace.tar.bz2 |
Fix the horrible naming of UsbInterfaceDescriptor.
Removing unnecessary ref-countings.
Review URL: https://chromiumcodereview.appspot.com/22678007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/usb/usb_device_handle.h')
-rw-r--r-- | chrome/browser/usb/usb_device_handle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/usb/usb_device_handle.h b/chrome/browser/usb/usb_device_handle.h index f7aa43f..3a5bd47 100644 --- a/chrome/browser/usb/usb_device_handle.h +++ b/chrome/browser/usb/usb_device_handle.h @@ -28,7 +28,7 @@ typedef libusb_transfer* PlatformUsbTransferHandle; class UsbContext; class UsbConfigDescriptor; class UsbDevice; -class UsbInterface; +class UsbInterfaceDescriptor; namespace base { class MessageLoopProxy; @@ -119,7 +119,8 @@ class UsbDeviceHandle : public base::RefCountedThreadSafe<UsbDeviceHandle> { // This constructor is called by UsbDevice. UsbDeviceHandle(scoped_refptr<UsbContext> context, - UsbDevice* device, PlatformUsbDeviceHandle handle); + UsbDevice* device, PlatformUsbDeviceHandle handle, + scoped_refptr<UsbConfigDescriptor> interfaces); // This constructor variant is for use in testing only. UsbDeviceHandle(); |