Index: components/pairing/shark_connection_listener.cc |
diff --git a/components/pairing/shark_connection_listener.cc b/components/pairing/shark_connection_listener.cc |
index db9b4b76917feadad104e47ea6af9fa58c220da8..d74b633c7bd99890fdf20883dae16b243fbf2a00 100644 |
--- a/components/pairing/shark_connection_listener.cc |
+++ b/components/pairing/shark_connection_listener.cc |
@@ -12,9 +12,11 @@ |
namespace pairing_chromeos { |
-SharkConnectionListener::SharkConnectionListener(OnConnectedCallback callback) |
+SharkConnectionListener::SharkConnectionListener( |
+ const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner, |
+ OnConnectedCallback callback) |
: callback_(callback) { |
- controller_.reset(new BluetoothHostPairingController()); |
+ controller_.reset(new BluetoothHostPairingController(file_task_runner)); |
controller_->AddObserver(this); |
controller_->StartPairing(); |
} |