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

Unified Diff: device/test/test_device_client.h

Issue 2885143002: Use the task scheduler in the new Windows USB backend (Closed)
Patch Set: Created 3 years, 7 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
Index: device/test/test_device_client.h
diff --git a/device/test/test_device_client.h b/device/test/test_device_client.h
index 8393ae248e718456190407214981b3c404d30248..6d6df63bcad7d5a4245d578e6b2492703a5c32d1 100644
--- a/device/test/test_device_client.h
+++ b/device/test/test_device_client.h
@@ -4,13 +4,8 @@
#include <memory>
-#include "base/memory/ref_counted.h"
#include "device/base/device_client.h"
-namespace base {
-class SingleThreadTaskRunner;
-}
-
namespace device {
class HidService;
@@ -18,7 +13,7 @@ class UsbService;
class TestDeviceClient : public DeviceClient {
public:
- TestDeviceClient(scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ TestDeviceClient();
// Must be destroyed when tasks can still be posted to |task_runner|.
~TestDeviceClient() override;
@@ -29,7 +24,6 @@ class TestDeviceClient : public DeviceClient {
private:
std::unique_ptr<HidService> hid_service_;
std::unique_ptr<UsbService> usb_service_;
- scoped_refptr<base::SingleThreadTaskRunner> blocking_task_runner_;
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698