summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/authenticator_test_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/authenticator_test_base.cc')
-rw-r--r--remoting/protocol/authenticator_test_base.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/protocol/authenticator_test_base.cc b/remoting/protocol/authenticator_test_base.cc
index 2ef1658..294dacf 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();