Index: remoting/protocol/it2me_host_authenticator_factory.h |
diff --git a/remoting/protocol/it2me_host_authenticator_factory.h b/remoting/protocol/it2me_host_authenticator_factory.h |
index fe244c2f3ffaa67eefbe70b0eeb147c394f72467..1be56835df9718633451ded4a0178a31c7ab6e6b 100644 |
--- a/remoting/protocol/it2me_host_authenticator_factory.h |
+++ b/remoting/protocol/it2me_host_authenticator_factory.h |
@@ -12,6 +12,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "remoting/protocol/authenticator.h" |
+#include "remoting/protocol/validating_authenticator.h" |
namespace remoting { |
@@ -23,10 +24,11 @@ namespace protocol { |
// understands both the V2 and legacy V1 authentication mechanisms. |
class It2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
public: |
- It2MeHostAuthenticatorFactory(const std::string& local_cert, |
- scoped_refptr<RsaKeyPair> key_pair, |
- const std::string& access_code, |
- const std::string& required_client_domain); |
+ It2MeHostAuthenticatorFactory( |
+ const std::string& local_cert, |
+ scoped_refptr<RsaKeyPair> key_pair, |
+ const std::string& access_code, |
+ const ValidatingAuthenticator::ValidationCallback& callback); |
~It2MeHostAuthenticatorFactory() override; |
// AuthenticatorFactory interface. |
@@ -38,7 +40,7 @@ class It2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
std::string local_cert_; |
scoped_refptr<RsaKeyPair> key_pair_; |
std::string access_code_hash_; |
- std::string required_client_domain_; |
+ ValidatingAuthenticator::ValidationCallback validation_callback_; |
DISALLOW_COPY_AND_ASSIGN(It2MeHostAuthenticatorFactory); |
}; |