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

Unified Diff: components/pairing/shark_connection_listener.h

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: Address achuith@'s comments. 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
Index: components/pairing/shark_connection_listener.h
diff --git a/components/pairing/shark_connection_listener.h b/components/pairing/shark_connection_listener.h
index 8cc225d3f9024272841779050ec633c51bb3838a..87c39c353aefbb33274c7e79132e48c1fed043a7 100644
--- a/components/pairing/shark_connection_listener.h
+++ b/components/pairing/shark_connection_listener.h
@@ -12,6 +12,10 @@
#include "base/macros.h"
#include "components/pairing/host_pairing_controller.h"
+namespace base {
+class SingleThreadTaskRunner;
+}
+
namespace pairing_chromeos {
// Listens for incoming connection from shark controller. If connection
@@ -22,7 +26,9 @@ class SharkConnectionListener : public HostPairingController::Observer {
using OnConnectedCallback =
base::Callback<void(std::unique_ptr<HostPairingController>)>;
- explicit SharkConnectionListener(OnConnectedCallback callback);
+ SharkConnectionListener(
+ const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner,
+ OnConnectedCallback callback);
~SharkConnectionListener() override;
private:
« no previous file with comments | « components/pairing/bluetooth_host_pairing_controller.cc ('k') | components/pairing/shark_connection_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698