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

Unified Diff: device/bluetooth/bluez/bluetooth_socket_bluez_unittest.cc

Issue 2606193002: Use TaskScheduler instead of WorkerPool in fake_bluetooth_device_client.cc. (Closed)
Patch Set: rebase Created 3 years, 11 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/bluetooth/bluez/bluetooth_socket_bluez_unittest.cc
diff --git a/device/bluetooth/bluez/bluetooth_socket_bluez_unittest.cc b/device/bluetooth/bluez/bluetooth_socket_bluez_unittest.cc
index ee4d8145be1f4a6a88505918291d050585af6f30..74ac10a4d109227e63f78a75ecc05fd92d5f3942 100644
--- a/device/bluetooth/bluez/bluetooth_socket_bluez_unittest.cc
+++ b/device/bluetooth/bluez/bluetooth_socket_bluez_unittest.cc
@@ -10,6 +10,7 @@
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
+#include "base/test/scoped_async_task_scheduler.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/bluetooth_device.h"
@@ -175,6 +176,7 @@ class BluetoothSocketBlueZTest : public testing::Test {
protected:
base::MessageLoop message_loop_;
+ base::test::ScopedAsyncTaskScheduler scoped_async_task_scheduler_;
scoped_refptr<BluetoothAdapter> adapter_;

Powered by Google App Engine
This is Rietveld 408576698