| Index: components/pairing/shark_connection_listener.cc
|
| diff --git a/components/pairing/shark_connection_listener.cc b/components/pairing/shark_connection_listener.cc
|
| index 85c554170a57294bbba6b7284c5a3b1eb088b59a..e5eb97d5764b86d838121320ee3aac5d68121d92 100644
|
| --- a/components/pairing/shark_connection_listener.cc
|
| +++ b/components/pairing/shark_connection_listener.cc
|
| @@ -7,16 +7,18 @@
|
| #include <utility>
|
|
|
| #include "base/logging.h"
|
| +#include "base/task_runner.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "components/pairing/bluetooth_host_pairing_controller.h"
|
|
|
| namespace pairing_chromeos {
|
|
|
| SharkConnectionListener::SharkConnectionListener(
|
| - const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner,
|
| + scoped_refptr<base::TaskRunner> input_service_task_runner,
|
| OnConnectedCallback callback)
|
| : callback_(callback) {
|
| - controller_.reset(new BluetoothHostPairingController(file_task_runner));
|
| + controller_.reset(
|
| + new BluetoothHostPairingController(std::move(input_service_task_runner)));
|
| controller_->AddObserver(this);
|
| controller_->StartPairing();
|
| }
|
|
|