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

Unified Diff: net/socket/socket_test_util.h

Issue 10704166: Change DeterministicMockTCPClientSocket to set the peer address from the connect data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sleevi's comment Created 8 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 | « no previous file | net/socket/socket_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index 2638afe936517faffd5d102150a2e78e136506b0..6d521cbd5e29e353bf07b0376055af88c3b77ffa 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -675,9 +675,10 @@ class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
bool was_used_to_convey_data_;
};
-class DeterministicMockTCPClientSocket : public MockClientSocket,
- public AsyncSocket,
- public base::SupportsWeakPtr<DeterministicMockTCPClientSocket> {
+class DeterministicMockTCPClientSocket
+ : public MockClientSocket,
+ public AsyncSocket,
+ public base::SupportsWeakPtr<DeterministicMockTCPClientSocket> {
public:
DeterministicMockTCPClientSocket(net::NetLog* net_log,
DeterministicSocketData* data);
@@ -781,8 +782,9 @@ class MockSSLClientSocket : public MockClientSocket, public AsyncSocket {
NextProto protocol_negotiated_;
};
-class MockUDPClientSocket : public DatagramClientSocket,
- public AsyncSocket {
+class MockUDPClientSocket
+ : public DatagramClientSocket,
+ public AsyncSocket {
public:
MockUDPClientSocket(SocketDataProvider* data, net::NetLog* net_log);
virtual ~MockUDPClientSocket();
« no previous file with comments | « no previous file | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698