Index: device/usb/usb_device.h |
diff --git a/device/usb/usb_device.h b/device/usb/usb_device.h |
index 9822a38813fa6ece5cb00c071d8fa8cd4d3d75f8..92d0e295532be355248f85fcc45fe8ae2b7be5ba 100644 |
--- a/device/usb/usb_device.h |
+++ b/device/usb/usb_device.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include <string> |
#include <vector> |
#include "base/callback.h" |
@@ -59,10 +60,6 @@ class UsbDevice : public base::RefCountedThreadSafe<UsbDevice> { |
// Creates a UsbDeviceHandle for further manipulation. |
virtual void Open(const OpenCallback& callback) = 0; |
- // 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; |
- |
// Gets the UsbConfigDescriptor for the active device configuration or nullptr |
// if the device is unconfigured. |
virtual const UsbConfigDescriptor* GetActiveConfiguration() = 0; |