| Index: chrome/browser/devtools/device/usb/android_usb_browsertest.cc
|
| diff --git a/chrome/browser/devtools/device/usb/android_usb_browsertest.cc b/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
|
| index be1f167abeecdd9d13f4ee900bbf40ad185a47ce..c6b4af1f066c42537c35c83b74318c7289ac5115 100644
|
| --- a/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
|
| +++ b/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
|
| @@ -43,6 +43,7 @@ const char kDeviceModelCommand[] = "shell:getprop ro.product.model";
|
| const char kDumpsysCommand[] = "shell:dumpsys window policy";
|
| const char kListProcessesCommand[] = "shell:ps";
|
| const char kInstalledChromePackagesCommand[] = "shell:pm list packages";
|
| +const char kDeviceManufacturer[] = "Test Manufacturer";
|
| const char kDeviceModel[] = "Nexus 5";
|
| const char kDeviceSerial[] = "Sample serial";
|
|
|
| @@ -254,6 +255,16 @@ class MockUsbDeviceHandle : public UsbDeviceHandle {
|
|
|
| virtual bool ResetDevice() OVERRIDE { return true; }
|
|
|
| + virtual bool GetManufacturer(base::string16* manufacturer) OVERRIDE {
|
| + *manufacturer = base::UTF8ToUTF16(kDeviceManufacturer);
|
| + return true;
|
| + }
|
| +
|
| + virtual bool GetProduct(base::string16* product) OVERRIDE {
|
| + *product = base::UTF8ToUTF16(kDeviceModel);
|
| + return true;
|
| + }
|
| +
|
| virtual bool GetSerial(base::string16* serial) OVERRIDE {
|
| *serial = base::UTF8ToUTF16(kDeviceSerial);
|
| return true;
|
|
|