| Index: remoting/protocol/it2me_host_authenticator_factory.cc
|
| diff --git a/remoting/protocol/it2me_host_authenticator_factory.cc b/remoting/protocol/it2me_host_authenticator_factory.cc
|
| index 87f09a1a139fd15583a8797ca0c0697da14b0969..322d569bc8bbce5ad7d61c2ab6fc78628957b6a9 100644
|
| --- a/remoting/protocol/it2me_host_authenticator_factory.cc
|
| +++ b/remoting/protocol/it2me_host_authenticator_factory.cc
|
| @@ -21,11 +21,13 @@ It2MeHostAuthenticatorFactory::It2MeHostAuthenticatorFactory(
|
| const std::string& local_cert,
|
| scoped_refptr<RsaKeyPair> key_pair,
|
| const std::string& access_code_hash,
|
| - const ValidatingAuthenticator::ValidationCallback& callback)
|
| + const ValidatingAuthenticator::ValidationCallback& incoming_callback,
|
| + const ValidatingAuthenticator::ValidationCallback& accepted_callback)
|
| : local_cert_(local_cert),
|
| key_pair_(key_pair),
|
| access_code_hash_(access_code_hash),
|
| - validation_callback_(callback) {}
|
| + incoming_callback_(incoming_callback),
|
| + accepted_callback_(accepted_callback) {}
|
|
|
| It2MeHostAuthenticatorFactory::~It2MeHostAuthenticatorFactory() {}
|
|
|
| @@ -39,7 +41,8 @@ It2MeHostAuthenticatorFactory::CreateAuthenticator(
|
| nullptr));
|
|
|
| return base::MakeUnique<ValidatingAuthenticator>(
|
| - remote_jid, validation_callback_, std::move(authenticator));
|
| + remote_jid, incoming_callback_, accepted_callback_,
|
| + std::move(authenticator));
|
| }
|
|
|
| } // namespace protocol
|
|
|