Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: remoting/protocol/authenticator_test_base.h

Issue 570463002: Revert of Move PseudoTCP and channel auth out of LibjingleTransportFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean_dgrams
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/authenticator_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | remoting/protocol/authenticator_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698