Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 1768383004: Cleanup AuthenticatorMethod usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | remoting/host/pin_hash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.cc ('k') | remoting/host/pin_hash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698