Commit 72e361be authored by Francois Doray's avatar Francois Doray Committed by Commit Bot

Remove usage of ScopedAsyncTaskScheduler from bluetooth_socket_bluez_unittest.cc.

ScopedAsyncTaskScheduler is deprecated.

Bug: 708584
Change-Id: If09d3f1395fd46bcc2394d91096c3eae54bf932b
Reviewed-on: https://chromium-review.googlesource.com/592163
Commit-Queue: Rahul Chaturvedi <rkc@chromium.org>
Reviewed-by: default avatarRahul Chaturvedi <rkc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490820}
parent 963b88b3
......@@ -8,9 +8,8 @@
#include "base/bind.h"
#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 "base/test/scoped_task_environment.h"
#include "device/bluetooth/bluetooth_adapter.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/bluetooth_device.h"
......@@ -173,8 +172,7 @@ class BluetoothSocketBlueZTest : public testing::Test {
void ImmediateSuccessCallback() { ++success_callback_count_; }
protected:
base::MessageLoop message_loop_;
base::test::ScopedAsyncTaskScheduler scoped_async_task_scheduler_;
base::test::ScopedTaskEnvironment scoped_task_environment_;
scoped_refptr<BluetoothAdapter> adapter_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment