| Index: remoting/protocol/negotiating_host_authenticator.h
|
| diff --git a/remoting/protocol/negotiating_host_authenticator.h b/remoting/protocol/negotiating_host_authenticator.h
|
| index 588fee2bf0e390bdb640bfb801cd15337a9712d3..276159497e92029d3cddb75bbfe1612bd7795db0 100644
|
| --- a/remoting/protocol/negotiating_host_authenticator.h
|
| +++ b/remoting/protocol/negotiating_host_authenticator.h
|
| @@ -11,10 +11,10 @@
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/memory/weak_ptr.h"
|
| #include "remoting/protocol/authentication_method.h"
|
| #include "remoting/protocol/authenticator.h"
|
| #include "remoting/protocol/negotiating_authenticator_base.h"
|
| +#include "remoting/protocol/pairing_registry.h"
|
| #include "remoting/protocol/third_party_host_authenticator.h"
|
|
|
| namespace remoting {
|
| @@ -34,7 +34,8 @@ class NegotiatingHostAuthenticator : public NegotiatingAuthenticatorBase {
|
| const std::string& local_cert,
|
| scoped_refptr<RsaKeyPair> key_pair,
|
| const std::string& shared_secret_hash,
|
| - AuthenticationMethod::HashFunction hash_function);
|
| + AuthenticationMethod::HashFunction hash_function,
|
| + scoped_refptr<PairingRegistry> pairing_registry);
|
|
|
| // Creates a host authenticator, using third party authentication.
|
| static scoped_ptr<Authenticator> CreateWithThirdPartyAuth(
|
| @@ -68,6 +69,9 @@ class NegotiatingHostAuthenticator : public NegotiatingAuthenticatorBase {
|
| // Used only for third party host authenticators.
|
| scoped_ptr<ThirdPartyHostAuthenticator::TokenValidator> token_validator_;
|
|
|
| + // Used only for pairing authenticators.
|
| + scoped_refptr<PairingRegistry> pairing_registry_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NegotiatingHostAuthenticator);
|
| };
|
|
|
|
|