| 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 7d0eebe83e836c00b9d5c2f48d3c7e5ed07fa3e0..cecb2b6f7f0110acce04d4fdf6024c096427cb56 100644
|
| --- a/remoting/protocol/me2me_host_authenticator_factory.h
|
| +++ b/remoting/protocol/me2me_host_authenticator_factory.h
|
| @@ -21,19 +21,24 @@ class RsaKeyPair;
|
|
|
| namespace protocol {
|
|
|
| +class PairingRegistry;
|
| +
|
| class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
|
| public:
|
| // Create a factory that dispenses shared secret authenticators.
|
| static scoped_ptr<AuthenticatorFactory> CreateWithSharedSecret(
|
| const std::string& local_cert,
|
| scoped_refptr<RsaKeyPair> key_pair,
|
| - const SharedSecretHash& shared_secret_hash);
|
| + const SharedSecretHash& shared_secret_hash,
|
| + scoped_refptr<PairingRegistry> pairing_registry);
|
| +
|
| // Create a factory that dispenses third party authenticators.
|
| static scoped_ptr<AuthenticatorFactory> CreateWithThirdPartyAuth(
|
| const std::string& local_cert,
|
| scoped_refptr<RsaKeyPair> key_pair,
|
| scoped_ptr<ThirdPartyHostAuthenticator::TokenValidatorFactory>
|
| token_validator_factory);
|
| +
|
| // Create a factory that dispenses rejecting authenticators (used when the
|
| // host config/policy is inconsistent)
|
| static scoped_ptr<AuthenticatorFactory> CreateRejecting();
|
| @@ -59,6 +64,9 @@ class Me2MeHostAuthenticatorFactory : public AuthenticatorFactory {
|
| scoped_ptr<ThirdPartyHostAuthenticator::TokenValidatorFactory>
|
| token_validator_factory_;
|
|
|
| + // Used only for pairing host authenticators.
|
| + scoped_refptr<PairingRegistry> pairing_registry_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(Me2MeHostAuthenticatorFactory);
|
| };
|
|
|
|
|