Index: device/usb/usb_device.h |
diff --git a/device/usb/usb_device.h b/device/usb/usb_device.h |
index e1a17c257e9dbd00ca9c44e4d7ad51e13cc3eaa2..adbd49546caf05df3936ee2f06db54d7b391f525 100644 |
--- a/device/usb/usb_device.h |
+++ b/device/usb/usb_device.h |
@@ -45,9 +45,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 false and an empty |
// string. This is a blocking method and must be called on FILE thread. |