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

Unified Diff: device/usb/mock_usb_device.h

Issue 1326003006: Add webusb notification UI unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hardcoded expected string for testing Created 5 years, 3 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
« no previous file with comments | « components/webusb/webusb_detector_unittest.cc ('k') | device/usb/mock_usb_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mock_usb_device.h
diff --git a/device/usb/mock_usb_device.h b/device/usb/mock_usb_device.h
index a60af2469904b3924581e3093f37d5edff2cc7bf..30b5bdd3b7b7e29f0a54d361e99228c11d87d0b0 100644
--- a/device/usb/mock_usb_device.h
+++ b/device/usb/mock_usb_device.h
@@ -22,6 +22,12 @@ class MockUsbDevice : public UsbDevice {
const std::string& manufacturer_string,
const std::string& product_string,
const std::string& serial_number);
+ MockUsbDevice(uint16 vendor_id,
+ uint16 product_id,
+ const std::string& manufacturer_string,
+ const std::string& product_string,
+ const std::string& serial_number,
+ const GURL& webusb_landing_page);
MOCK_METHOD1(Open, void(const OpenCallback&));
MOCK_METHOD1(Close, bool(scoped_refptr<UsbDeviceHandle>));
« no previous file with comments | « components/webusb/webusb_detector_unittest.cc ('k') | device/usb/mock_usb_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698