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