Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1795)

Unified Diff: device/usb/mock_usb_device.h

Issue 1265833005: Get all the UsbConfigDescriptor for the device configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use const auto Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/usb/mock_usb_device.h
diff --git a/device/usb/mock_usb_device.h b/device/usb/mock_usb_device.h
index 823aac66efce7a27e70e450eaa217197e251aa70..a60af2469904b3924581e3093f37d5edff2cc7bf 100644
--- a/device/usb/mock_usb_device.h
+++ b/device/usb/mock_usb_device.h
@@ -25,7 +25,7 @@ class MockUsbDevice : public UsbDevice {
MOCK_METHOD1(Open, void(const OpenCallback&));
MOCK_METHOD1(Close, bool(scoped_refptr<UsbDeviceHandle>));
- MOCK_METHOD0(GetConfiguration, const device::UsbConfigDescriptor*());
+ MOCK_METHOD0(GetActiveConfiguration, const device::UsbConfigDescriptor*());
private:
~MockUsbDevice() override;

Powered by Google App Engine
This is Rietveld 408576698