Index: remoting/client/plugin/chromoting_instance.cc |
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
index a90b5071d87b0b4951b96007474b5b627a83da24..2b1974b5295c16c3b457d31f271120296627f7c7 100644 |
--- a/remoting/client/plugin/chromoting_instance.cc |
+++ b/remoting/client/plugin/chromoting_instance.cc |
@@ -703,18 +703,10 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) { |
weak_factory_.GetWeakPtr()), |
host_public_key)); |
- std::vector<protocol::AuthenticationMethod> auth_methods; |
- auth_methods.push_back(protocol::AuthenticationMethod::THIRD_PARTY); |
- auth_methods.push_back(protocol::AuthenticationMethod::SPAKE2_PAIR); |
- auth_methods.push_back( |
- protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_HMAC); |
- auth_methods.push_back( |
- protocol::AuthenticationMethod::SPAKE2_SHARED_SECRET_PLAIN); |
- |
scoped_ptr<protocol::Authenticator> authenticator( |
new protocol::NegotiatingClientAuthenticator( |
client_pairing_id, client_paired_secret, authentication_tag, |
- fetch_secret_callback, std::move(token_fetcher), auth_methods)); |
+ fetch_secret_callback, std::move(token_fetcher))); |
scoped_ptr<protocol::CandidateSessionConfig> config = |
protocol::CandidateSessionConfig::CreateDefault(); |