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

Unified Diff: device/test/test_device_client.h

Issue 2482463002: Remove DeviceMonitorLinux::WillDestroyCurrentMessageLoop(). (Closed)
Patch Set: CR achuithb #24 Created 4 years, 1 month 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/mock_hid_service.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 16275ad30c1d666a31ce8a83161b344352d68180..8393ae248e718456190407214981b3c404d30248 100644
--- a/device/test/test_device_client.h
+++ b/device/test/test_device_client.h
@@ -19,6 +19,8 @@ class UsbService;
class TestDeviceClient : public DeviceClient {
public:
TestDeviceClient(scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+
+ // Must be destroyed when tasks can still be posted to |task_runner|.
~TestDeviceClient() override;
HidService* GetHidService() override;
« no previous file with comments | « device/hid/mock_hid_service.cc ('k') | device/test/test_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698