| Index: device/usb/usb_device.h
|
| diff --git a/device/usb/usb_device.h b/device/usb/usb_device.h
|
| index 8b8ec6232134ba9f3b184c42214197222ebea142..cfea8aee7fa08aba24dbd632e44326a6e930bff5 100644
|
| --- a/device/usb/usb_device.h
|
| +++ b/device/usb/usb_device.h
|
| @@ -51,9 +51,10 @@ class UsbDevice : public base::RefCountedThreadSafe<UsbDevice> {
|
| // Blocking method. Must be called on FILE thread.
|
| virtual bool Close(scoped_refptr<UsbDeviceHandle> handle) = 0;
|
|
|
| - // Gets the UsbConfigDescriptor for the active device configuration.
|
| + // Gets the UsbConfigDescriptor for the active device configuration or nullptr
|
| + // if the device is unconfigured.
|
| // Blocking method. Must be called on FILE thread.
|
| - virtual const UsbConfigDescriptor& GetConfiguration() = 0;
|
| + virtual const UsbConfigDescriptor* GetConfiguration() = 0;
|
|
|
| // Gets the manufacturer string of the device, or returns false.
|
| // Blocking method. Must be called on FILE thread.
|
|
|