| Index: remoting/protocol/negotiating_client_authenticator.cc
|
| diff --git a/remoting/protocol/negotiating_client_authenticator.cc b/remoting/protocol/negotiating_client_authenticator.cc
|
| index 2a2247efaed6306386fbcdd4cadfc00e6989f315..43b58254d20ee4778a37c79becc3203b2a9741fe 100644
|
| --- a/remoting/protocol/negotiating_client_authenticator.cc
|
| +++ b/remoting/protocol/negotiating_client_authenticator.cc
|
| @@ -42,8 +42,7 @@ NegotiatingClientAuthenticator::NegotiatingClientAuthenticator(
|
| }
|
| }
|
|
|
| -NegotiatingClientAuthenticator::~NegotiatingClientAuthenticator() {
|
| -}
|
| +NegotiatingClientAuthenticator::~NegotiatingClientAuthenticator() {}
|
|
|
| void NegotiatingClientAuthenticator::ProcessMessage(
|
| const buzz::XmlElement* message,
|
| @@ -120,6 +119,7 @@ void NegotiatingClientAuthenticator::CreateAuthenticatorForCurrentMethod(
|
| // one |ThirdPartyClientAuthenticator| will need to be created per session.
|
| DCHECK(token_fetcher_);
|
| current_authenticator_.reset(new ThirdPartyClientAuthenticator(
|
| + base::Bind(&V2Authenticator::CreateForClient),
|
| std::move(token_fetcher_)));
|
| resume_callback.Run();
|
| } else {
|
| @@ -143,7 +143,8 @@ void NegotiatingClientAuthenticator::CreatePreferredAuthenticator() {
|
| // If the client specified a pairing id and shared secret, then create a
|
| // PairingAuthenticator.
|
| current_authenticator_.reset(new PairingClientAuthenticator(
|
| - client_pairing_id_, shared_secret_, fetch_secret_callback_,
|
| + client_pairing_id_, shared_secret_,
|
| + base::Bind(&V2Authenticator::CreateForClient), fetch_secret_callback_,
|
| authentication_tag_));
|
| current_method_ = AuthenticationMethod::SPAKE2_PAIR;
|
| }
|
|
|