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

Unified Diff: components/pairing/shark_connection_listener.cc

Issue 1942883003: [Chrome OS Bootstrapping]: Do not always power off the Bluetooth adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the dependency on content/public. Created 4 years, 8 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
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();
}

Powered by Google App Engine
This is Rietveld 408576698