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