Index: remoting/protocol/ice_transport_unittest.cc |
diff --git a/remoting/protocol/ice_transport_unittest.cc b/remoting/protocol/ice_transport_unittest.cc |
index ccb3d8de96610a7f7d5357ddc1f0b89658c05fc9..1476809183f38b35cdcf48ed527ef7756ad62e15 100644 |
--- a/remoting/protocol/ice_transport_unittest.cc |
+++ b/remoting/protocol/ice_transport_unittest.cc |
@@ -123,8 +123,8 @@ class IceTransportTest : public testing::Test { |
nullptr, network_settings_, TransportRole::SERVER), |
&host_event_handler_)); |
if (!host_authenticator_) { |
- host_authenticator_.reset(new FakeAuthenticator( |
- FakeAuthenticator::HOST, 0, FakeAuthenticator::ACCEPT, true)); |
+ host_authenticator_.reset( |
+ new FakeAuthenticator(FakeAuthenticator::ACCEPT)); |
} |
client_transport_.reset(new IceTransport( |
@@ -133,8 +133,8 @@ class IceTransportTest : public testing::Test { |
nullptr, network_settings_, TransportRole::CLIENT), |
&client_event_handler_)); |
if (!client_authenticator_) { |
- client_authenticator_.reset(new FakeAuthenticator( |
- FakeAuthenticator::CLIENT, 0, FakeAuthenticator::ACCEPT, true)); |
+ client_authenticator_.reset( |
+ new FakeAuthenticator(FakeAuthenticator::ACCEPT)); |
} |
host_event_handler_.set_error_callback(base::Bind( |
@@ -247,8 +247,8 @@ TEST_F(IceTransportTest, MuxDataStream) { |
TEST_F(IceTransportTest, FailedChannelAuth) { |
// Use host authenticator with one that rejects channel authentication. |
- host_authenticator_.reset(new FakeAuthenticator( |
- FakeAuthenticator::HOST, 0, FakeAuthenticator::REJECT_CHANNEL, true)); |
+ host_authenticator_.reset( |
+ new FakeAuthenticator(FakeAuthenticator::REJECT_CHANNEL)); |
InitializeConnection(); |