Index: remoting/protocol/authenticator_test_base.cc |
diff --git a/remoting/protocol/authenticator_test_base.cc b/remoting/protocol/authenticator_test_base.cc |
index 3f1d9f6af1c4a3e7ab56d02e4c1ff5687b6c8d94..bd63cd733f93c209b0efa570a39b315dec8e563b 100644 |
--- a/remoting/protocol/authenticator_test_base.cc |
+++ b/remoting/protocol/authenticator_test_base.cc |
@@ -10,6 +10,7 @@ |
#include "base/path_service.h" |
#include "base/test/test_timeouts.h" |
#include "base/timer/timer.h" |
+#include "net/base/net_errors.h" |
#include "net/base/test_data_directory.h" |
#include "remoting/base/rsa_key_pair.h" |
#include "remoting/protocol/authenticator.h" |
@@ -157,14 +158,14 @@ void AuthenticatorTestBase::RunChannelAuth(bool expected_fail) { |
} |
void AuthenticatorTestBase::OnHostConnected( |
- net::Error error, |
+ int error, |
scoped_ptr<net::StreamSocket> socket) { |
host_callback_.OnDone(error); |
host_socket_ = socket.Pass(); |
} |
void AuthenticatorTestBase::OnClientConnected( |
- net::Error error, |
+ int error, |
scoped_ptr<net::StreamSocket> socket) { |
client_callback_.OnDone(error); |
client_socket_ = socket.Pass(); |