Index: remoting/protocol/me2me_host_authenticator_factory.h |
diff --git a/remoting/protocol/me2me_host_authenticator_factory.h b/remoting/protocol/me2me_host_authenticator_factory.h |
index e6375a23eb4799bb7f8746fc0e62b28b05095a2e..4a091cbe018e3265bcbe2060ba2f2485650b9c0a 100644 |
--- a/remoting/protocol/me2me_host_authenticator_factory.h |
+++ b/remoting/protocol/me2me_host_authenticator_factory.h |
@@ -13,6 +13,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "remoting/protocol/authentication_method.h" |
#include "remoting/protocol/authenticator.h" |
+#include "remoting/protocol/third_party_host_authenticator.h" |
namespace remoting { |
@@ -25,7 +26,9 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
Me2MeHostAuthenticatorFactory( |
const std::string& local_cert, |
scoped_refptr<RsaKeyPair> key_pair, |
- const SharedSecretHash& shared_secret_hash); |
+ const SharedSecretHash& shared_secret_hash, |
+ scoped_ptr<ThirdPartyHostAuthenticator::TokenValidatorFactory> |
+ token_validator_factory); |
virtual ~Me2MeHostAuthenticatorFactory(); |
// AuthenticatorFactory interface. |
@@ -36,10 +39,18 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory { |
private: |
std::string local_jid_prefix_; |
+ |
+ // Used for all host authenticators. |
std::string local_cert_; |
+ |
+ // Used only for shared secret host authenticators. |
scoped_refptr<RsaKeyPair> key_pair_; |
SharedSecretHash shared_secret_hash_; |
+ // Used only for third party host authenticators. |
+ scoped_ptr<ThirdPartyHostAuthenticator::TokenValidatorFactory> |
+ token_validator_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(Me2MeHostAuthenticatorFactory); |
}; |