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

Unified Diff: device/test/test_device_client.h

Issue 2482463002: Remove DeviceMonitorLinux::WillDestroyCurrentMessageLoop(). (Closed)
Patch Set: Fix ChromeOS build error 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
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;

Powered by Google App Engine
This is Rietveld 408576698