| Index: remoting/host/security_key/security_key_extension.h
|
| diff --git a/remoting/host/security_key/security_key_extension.h b/remoting/host/security_key/security_key_extension.h
|
| index 4f4fc4c249612b051aeff67bf1a54634cb3a9710..e5f8b32b478d148952f995cb5c550dc7837c0d54 100644
|
| --- a/remoting/host/security_key/security_key_extension.h
|
| +++ b/remoting/host/security_key/security_key_extension.h
|
| @@ -9,8 +9,13 @@
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "remoting/host/host_extension.h"
|
|
|
| +namespace base {
|
| +class SingleThreadTaskRunner;
|
| +} // namespace base
|
| +
|
| namespace remoting {
|
|
|
| class ClientSessionDetails;
|
| @@ -19,7 +24,8 @@ class HostExtensionSession;
|
| // SecurityKeyExtension extends HostExtension to enable Security Key support.
|
| class SecurityKeyExtension : public HostExtension {
|
| public:
|
| - SecurityKeyExtension();
|
| + explicit SecurityKeyExtension(
|
| + scoped_refptr<base::SingleThreadTaskRunner> file_task_runner);
|
| ~SecurityKeyExtension() override;
|
|
|
| // HostExtension interface.
|
| @@ -29,6 +35,9 @@ class SecurityKeyExtension : public HostExtension {
|
| protocol::ClientStub* client_stub) override;
|
|
|
| private:
|
| + // Allows underlying auth handler to perform blocking file IO.
|
| + scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SecurityKeyExtension);
|
| };
|
|
|
|
|