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

Unified Diff: components/pairing/shark_connection_listener.cc

Issue 1957953003: [Merge to M50] [Chrome OS Bootstrapping]: Do not always power off the Bluetooth adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 7 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
« no previous file with comments | « components/pairing/shark_connection_listener.h ('k') | device/hid/fake_input_service_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « components/pairing/shark_connection_listener.h ('k') | device/hid/fake_input_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698