Index: components/pairing/shark_connection_listener.h |
diff --git a/components/pairing/shark_connection_listener.h b/components/pairing/shark_connection_listener.h |
index c0b3836b526e267107ff95f73b36522e8ed23bf3..d7ff4ce092822d1355c1bbe12758fcbae17d461a 100644 |
--- a/components/pairing/shark_connection_listener.h |
+++ b/components/pairing/shark_connection_listener.h |
@@ -12,6 +12,10 @@ |
#include "base/memory/scoped_ptr.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 { |
typedef base::Callback<void(scoped_ptr<HostPairingController>)> |
OnConnectedCallback; |
- explicit SharkConnectionListener(OnConnectedCallback callback); |
+ SharkConnectionListener( |
+ const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner, |
+ OnConnectedCallback callback); |
~SharkConnectionListener() override; |
private: |