Index: components/pairing/bluetooth_host_pairing_controller.h |
diff --git a/components/pairing/bluetooth_host_pairing_controller.h b/components/pairing/bluetooth_host_pairing_controller.h |
index a9a9d4010a2a2475e8ce726f217ef7b50546d0ec..faa2d107a8d8c34b44229005fdc8e85fc07a9c2e 100644 |
--- a/components/pairing/bluetooth_host_pairing_controller.h |
+++ b/components/pairing/bluetooth_host_pairing_controller.h |
@@ -22,7 +22,7 @@ |
#include "device/hid/input_service_linux.h" |
namespace base { |
-class SingleThreadTaskRunner; |
+class TaskRunner; |
} |
namespace device { |
@@ -62,7 +62,7 @@ class BluetoothHostPairingController |
}; |
explicit BluetoothHostPairingController( |
- const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner); |
+ const scoped_refptr<base::TaskRunner>& input_service_task_runner); |
~BluetoothHostPairingController() override; |
// These functions should be only used in tests. |
@@ -154,8 +154,8 @@ class BluetoothHostPairingController |
std::unique_ptr<ProtoDecoder> proto_decoder_; |
TestDelegate* delegate_ = nullptr; |
- scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; |
- base::ThreadChecker thread_checker_; |
+ scoped_refptr<base::TaskRunner> input_service_task_runner_; |
+ THREAD_CHECKER(thread_checker_); |
base::ObserverList<Observer> observers_; |
base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; |