Index: device/usb/usb_device_handle.h |
diff --git a/device/usb/usb_device_handle.h b/device/usb/usb_device_handle.h |
index 0597378e1c399476d0f837d8c6caf4cbbf075ca3..23d2fd5c7b84e6582d9efd057cf60ece10504ce1 100644 |
--- a/device/usb/usb_device_handle.h |
+++ b/device/usb/usb_device_handle.h |
@@ -90,6 +90,11 @@ class UsbDeviceHandle : public base::RefCountedThreadSafe<UsbDeviceHandle> { |
unsigned int timeout, |
const TransferCallback& callback) = 0; |
+ // Gets the interface containing |endpoint_address|. Returns false if no |
+ // claimed interface contains that endpoint. |
+ virtual bool FindInterfaceByEndpoint(uint8_t endpoint_address, |
+ uint8_t* interface_number) = 0; |
+ |
protected: |
friend class base::RefCountedThreadSafe<UsbDeviceHandle>; |