summaryrefslogtreecommitdiffstats
path: root/remoting/test/test_chromoting_client.cc
diff options
context:
space:
mode:
authorsergeyu <sergeyu@chromium.org>2016-03-08 21:37:03 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-09 05:38:32 +0000
commit42cb6f9f0990561fa6c5e8bf436b6dcd60d0b52f (patch)
treed57de28901a65540030b555029fc6be30cf111f1 /remoting/test/test_chromoting_client.cc
parent020716dc6d2dc9e3e2bd59de86ad27dd50e904b2 (diff)
downloadchromium_src-42cb6f9f0990561fa6c5e8bf436b6dcd60d0b52f.zip
chromium_src-42cb6f9f0990561fa6c5e8bf436b6dcd60d0b52f.tar.gz
chromium_src-42cb6f9f0990561fa6c5e8bf436b6dcd60d0b52f.tar.bz2
Cleanup AuthenticationMethod usage.
Previously AuthenticationMethod type was used in many places. Removed all dependencies on it except from NegotiatingAuthenticator classes. AuthenticationMethod has been moved to NegotiatingAuthenticatorBase::Method. Also includes the following cleanups: - removed old authentication functions from auth_util.cc which were no longer needed. - Remove HashFunction enum as it wasn't useful. BUG=589698 Review URL: https://codereview.chromium.org/1768383004 Cr-Commit-Position: refs/heads/master@{#380078}
Diffstat (limited to 'remoting/test/test_chromoting_client.cc')
-rw-r--r--remoting/test/test_chromoting_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc
index b48d611..cd7674c 100644
--- a/remoting/test/test_chromoting_client.cc
+++ b/remoting/test/test_chromoting_client.cc
@@ -150,7 +150,7 @@ void TestChromotingClient::StartConnection(
new protocol::NegotiatingClientAuthenticator(
connection_setup_info.pairing_id, connection_setup_info.shared_secret,
connection_setup_info.host_id, fetch_secret_callback,
- std::move(token_fetcher), connection_setup_info.auth_methods));
+ std::move(token_fetcher)));
chromoting_client_->Start(
signal_strategy_.get(), std::move(authenticator), transport_context,