| Index: remoting/protocol/negotiating_client_authenticator.h
|
| diff --git a/remoting/protocol/negotiating_client_authenticator.h b/remoting/protocol/negotiating_client_authenticator.h
|
| index 0867d1035b7f4b28df6d4d92c378b8475adca4cd..9a1fe1ef94996095e525bbc935bedbe449bc464d 100644
|
| --- a/remoting/protocol/negotiating_client_authenticator.h
|
| +++ b/remoting/protocol/negotiating_client_authenticator.h
|
| @@ -41,6 +41,8 @@ struct ClientAuthenticationConfig {
|
| class NegotiatingClientAuthenticator : public NegotiatingAuthenticatorBase {
|
| public:
|
| explicit NegotiatingClientAuthenticator(
|
| + const std::string& local_id,
|
| + const std::string& remote_id,
|
| const ClientAuthenticationConfig& config);
|
| ~NegotiatingClientAuthenticator() override;
|
|
|
| @@ -69,12 +71,14 @@ class NegotiatingClientAuthenticator : public NegotiatingAuthenticatorBase {
|
| // message.
|
| void CreatePreferredAuthenticator();
|
|
|
| - // Creates a V2Authenticator in state |initial_state| with the given
|
| - // |shared_secret|, then runs |resume_callback|.
|
| - void CreateV2AuthenticatorWithSecret(
|
| - Authenticator::State initial_state,
|
| - const base::Closure& resume_callback,
|
| - const std::string& shared_secret);
|
| + // Creates a shared-secret authenticator in state |initial_state| with the
|
| + // given |shared_secret|, then runs |resume_callback|.
|
| + void CreateSharedSecretAuthenticator(Authenticator::State initial_state,
|
| + const base::Closure& resume_callback,
|
| + const std::string& shared_secret);
|
| +
|
| + std::string local_id_;
|
| + std::string remote_id_;
|
|
|
| ClientAuthenticationConfig config_;
|
|
|
|
|