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

Unified Diff: device/test/test_device_client.h

Issue 2032303003: Add smoke test for UsbService::GetDevices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | device/usb/usb_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/test/test_device_client.h
diff --git a/device/test/test_device_client.h b/device/test/test_device_client.h
index ce8cc2d16358da299083471a7a8e62d955ed5558..d4cd62790145d33cd1df3798cce6bb2b3c764d6d 100644
--- a/device/test/test_device_client.h
+++ b/device/test/test_device_client.h
@@ -21,10 +21,10 @@ class TestDeviceClient : public DeviceClient {
TestDeviceClient(scoped_refptr<base::SingleThreadTaskRunner> task_runner);
~TestDeviceClient() override;
- private:
HidService* GetHidService() override;
UsbService* GetUsbService() override;
+ private:
std::unique_ptr<HidService> hid_service_;
std::unique_ptr<UsbService> usb_service_;
scoped_refptr<base::SingleThreadTaskRunner> blocking_task_runner_;
« no previous file with comments | « no previous file | device/usb/usb_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698