Index: device/usb/mock_usb_device.h |
diff --git a/device/usb/mock_usb_device.h b/device/usb/mock_usb_device.h |
index 91bb0bb7be9f27cce34f2483ab9d0b8897b3d95d..c25a915b755b5592419a0ecbd56c3bec481b6f6c 100644 |
--- a/device/usb/mock_usb_device.h |
+++ b/device/usb/mock_usb_device.h |
@@ -5,12 +5,12 @@ |
#ifndef DEVICE_USB_MOCK_USB_DEVICE_H_ |
#define DEVICE_USB_MOCK_USB_DEVICE_H_ |
+#include "device/usb/usb_device.h" |
+ |
#include <stdint.h> |
#include <string> |
-#include <vector> |
-#include "device/usb/usb_device.h" |
#include "device/usb/usb_device_handle.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -41,6 +41,7 @@ |
const std::vector<UsbConfigDescriptor>& configurations); |
MOCK_METHOD1(Open, void(const OpenCallback&)); |
+ MOCK_METHOD1(Close, bool(scoped_refptr<UsbDeviceHandle>)); |
MOCK_METHOD0(GetActiveConfiguration, const device::UsbConfigDescriptor*()); |
private: |