Chromium Code Reviews| Index: device/usb/mock_usb_device.cc |
| diff --git a/device/usb/mock_usb_device.cc b/device/usb/mock_usb_device.cc |
| index 49b2252ac346b96c25497ab1e9110d7f5f738bc3..29ee9311266ac4c82f0d59a469243705eca99abf 100644 |
| --- a/device/usb/mock_usb_device.cc |
| +++ b/device/usb/mock_usb_device.cc |
| @@ -16,8 +16,13 @@ MockUsbDevice::MockUsbDevice(uint16_t vendor_id, |
| const std::string& manufacturer_string, |
| const std::string& product_string, |
| const std::string& serial_number) |
| - : UsbDevice(vendor_id, |
| + : UsbDevice(0x0200, |
| + 0xff, |
| + 0xff, |
| + 0xff, |
|
asargent_no_longer_on_chrome
2016/04/04 23:52:28
optional: consider adding comments with the field
|
| + vendor_id, |
| product_id, |
| + 0x0100, |
| base::UTF8ToUTF16(manufacturer_string), |
| base::UTF8ToUTF16(product_string), |
| base::UTF8ToUTF16(serial_number)) {} |
| @@ -28,8 +33,13 @@ MockUsbDevice::MockUsbDevice(uint16_t vendor_id, |
| const std::string& product_string, |
| const std::string& serial_number, |
| const GURL& webusb_landing_page) |
| - : UsbDevice(vendor_id, |
| + : UsbDevice(0x0200, |
| + 0xff, |
| + 0xff, |
| + 0xff, |
| + vendor_id, |
| product_id, |
| + 0x0100, |
| base::UTF8ToUTF16(manufacturer_string), |
| base::UTF8ToUTF16(product_string), |
| base::UTF8ToUTF16(serial_number)) { |