| Index: remoting/protocol/v1_authenticator.h
|
| diff --git a/remoting/protocol/v1_authenticator.h b/remoting/protocol/v1_authenticator.h
|
| index 6cedd0b89aa02e74d2e8a95bb81525bbfe6b8c8d..ad4df056cbd1352802bff496258c08e48e72e872 100644
|
| --- a/remoting/protocol/v1_authenticator.h
|
| +++ b/remoting/protocol/v1_authenticator.h
|
| @@ -42,7 +42,7 @@ class V1HostAuthenticator : public Authenticator {
|
| public:
|
| // Doesn't take ownership of |local_private_key|.
|
| V1HostAuthenticator(const std::string& local_cert,
|
| - const crypto::RSAPrivateKey* local_private_key,
|
| + const crypto::RSAPrivateKey& local_private_key,
|
| const std::string& shared_secret,
|
| const std::string& remote_jid);
|
| virtual ~V1HostAuthenticator();
|
| @@ -63,27 +63,6 @@ class V1HostAuthenticator : public Authenticator {
|
| DISALLOW_COPY_AND_ASSIGN(V1HostAuthenticator);
|
| };
|
|
|
| -class V1HostAuthenticatorFactory : public AuthenticatorFactory {
|
| - public:
|
| - // Doesn't take ownership of |local_private_key|.
|
| - V1HostAuthenticatorFactory(const std::string& local_cert,
|
| - const crypto::RSAPrivateKey* local_private_key,
|
| - const std::string& shared_secret);
|
| - virtual ~V1HostAuthenticatorFactory();
|
| -
|
| - // AuthenticatorFactory interface.
|
| - virtual Authenticator* CreateAuthenticator(
|
| - const std::string& remote_jid,
|
| - const buzz::XmlElement* first_message) OVERRIDE;
|
| -
|
| - private:
|
| - std::string local_cert_;
|
| - scoped_ptr<crypto::RSAPrivateKey> local_private_key_;
|
| - std::string shared_secret_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(V1HostAuthenticatorFactory);
|
| -};
|
| -
|
| } // namespace protocol
|
| } // namespace remoting
|
|
|
|
|