Index: remoting/protocol/authenticator_test_base.h |
diff --git a/remoting/protocol/authenticator_test_base.h b/remoting/protocol/authenticator_test_base.h |
index e20774ac90d7b5c0e5149e0cb160472c72c57ec2..c5c7e6bca95949c5ef3edf528d97d9c6afc6d300 100644 |
--- a/remoting/protocol/authenticator_test_base.h |
+++ b/remoting/protocol/authenticator_test_base.h |
@@ -9,7 +9,6 @@ |
#include "base/memory/ref_counted.h" |
#include "base/message_loop/message_loop.h" |
-#include "net/base/net_errors.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -37,7 +36,7 @@ class AuthenticatorTestBase : public testing::Test { |
public: |
MockChannelDoneCallback(); |
~MockChannelDoneCallback(); |
- MOCK_METHOD1(OnDone, void(net::Error error)); |
+ MOCK_METHOD1(OnDone, void(int error)); |
}; |
static void ContinueAuthExchangeWith(Authenticator* sender, |
@@ -49,9 +48,9 @@ class AuthenticatorTestBase : public testing::Test { |
void RunHostInitiatedAuthExchange(); |
void RunChannelAuth(bool expected_fail); |
- void OnHostConnected(net::Error error, |
+ void OnHostConnected(int error, |
scoped_ptr<net::StreamSocket> socket); |
- void OnClientConnected(net::Error error, |
+ void OnClientConnected(int error, |
scoped_ptr<net::StreamSocket> socket); |
base::MessageLoop message_loop_; |