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

Unified Diff: device/test/test_device_client.h

Issue 1312993008: Manage HidService lifetime in DeviceClient implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_usb_service_get_instance
Patch Set: 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
« no previous file with comments | « device/hid/hid_service_win.cc ('k') | device/test/test_device_client.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 ce70f3896880f68fa3237c99a75ea36a94b142e9..95cfc57bbec1b064b9a974203871aa9eccbd418c 100644
--- a/device/test/test_device_client.h
+++ b/device/test/test_device_client.h
@@ -24,6 +24,7 @@ class TestDeviceClient : public DeviceClient {
HidService* GetHidService() override;
UsbService* GetUsbService() override;
+ scoped_ptr<HidService> hid_service_;
scoped_ptr<UsbService> usb_service_;
scoped_refptr<base::SingleThreadTaskRunner> blocking_task_runner_;
};
« no previous file with comments | « device/hid/hid_service_win.cc ('k') | device/test/test_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698