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

Unified Diff: remoting/protocol/authenticator_test_base.h

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/client/key_event_mapper_unittest.cc ('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 02e7de9ec04342e31fe22fa1f5d42c67778363c9..12b4b3207b2449666329cda989366f8110bfe404 100644
--- a/remoting/protocol/authenticator_test_base.h
+++ b/remoting/protocol/authenticator_test_base.h
@@ -12,10 +12,6 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace net {
-class StreamSocket;
-} // namespace net
-
namespace remoting {
class RsaKeyPair;
@@ -25,6 +21,7 @@ namespace protocol {
class Authenticator;
class ChannelAuthenticator;
class FakeStreamSocket;
+class P2PStreamSocket;
class AuthenticatorTestBase : public testing::Test {
public:
@@ -49,9 +46,9 @@ class AuthenticatorTestBase : public testing::Test {
void RunChannelAuth(bool expected_fail);
void OnHostConnected(int error,
- scoped_ptr<net::StreamSocket> socket);
+ scoped_ptr<P2PStreamSocket> socket);
void OnClientConnected(int error,
- scoped_ptr<net::StreamSocket> socket);
+ scoped_ptr<P2PStreamSocket> socket);
base::MessageLoop message_loop_;
@@ -66,8 +63,8 @@ class AuthenticatorTestBase : public testing::Test {
scoped_ptr<ChannelAuthenticator> host_auth_;
MockChannelDoneCallback client_callback_;
MockChannelDoneCallback host_callback_;
- scoped_ptr<net::StreamSocket> client_socket_;
- scoped_ptr<net::StreamSocket> host_socket_;
+ scoped_ptr<P2PStreamSocket> client_socket_;
+ scoped_ptr<P2PStreamSocket> host_socket_;
DISALLOW_COPY_AND_ASSIGN(AuthenticatorTestBase);
};
« no previous file with comments | « remoting/client/key_event_mapper_unittest.cc ('k') | remoting/protocol/authenticator_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698