diff options
author | reillyg <reillyg@chromium.org> | 2015-07-10 13:59:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-10 21:00:15 +0000 |
commit | 0ebe983f1cfdd383a4954127f564b83a4fe4992f (patch) | |
tree | ab278d2dc4425d73732f289fc38fa64c2d1aed38 /device/usb/usb_device.h | |
parent | c02ff720599da01dd4c96e3e6bda0020a24e1a45 (diff) | |
download | chromium_src-0ebe983f1cfdd383a4954127f564b83a4fe4992f.zip chromium_src-0ebe983f1cfdd383a4954127f564b83a4fe4992f.tar.gz chromium_src-0ebe983f1cfdd383a4954127f564b83a4fe4992f.tar.bz2 |
Remove fallback when requesting a single USB interface.
This reverts commit 2d475d0ed37bf8f19385537ad31e361f1b21624b. The
permission broker now supports opening devices that are partially
claimed through the OpenPath method and RequestPathAccess will always
fail for these devices so the fallback path from RequestPathAccess to
OpenPath is always taken.
BUG=500057
Review URL: https://codereview.chromium.org/1227313003
Cr-Commit-Position: refs/heads/master@{#338354}
Diffstat (limited to 'device/usb/usb_device.h')
-rw-r--r-- | device/usb/usb_device.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/device/usb/usb_device.h b/device/usb/usb_device.h index 0d84328..53087c8 100644 --- a/device/usb/usb_device.h +++ b/device/usb/usb_device.h @@ -46,11 +46,6 @@ class UsbDevice : public base::RefCountedThreadSafe<UsbDevice> { // Creates a UsbDeviceHandle for further manipulation. virtual void Open(const OpenCallback& callback) = 0; - // Creates a UsbDeviceHandle for further manipulation. This method is a - // temporary workaround for crbug.com/500057 while the work to finish - // crbug.com/496469 is completed. - virtual void OpenInterface(int interface_id, const OpenCallback& callback); - // Explicitly closes a device handle. This method will be automatically called // by the destructor of a UsbDeviceHandle as well. virtual bool Close(scoped_refptr<UsbDeviceHandle> handle) = 0; |