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

Unified Diff: net/socket/socket_test_util.h

Issue 344026: Add LoadLog to ClientSocket::Connect(). (Closed)
Patch Set: Minor build fixups and fixed mac bug. Created 11 years, 1 month 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 | « net/socket/client_socket_pool_base_unittest.cc ('k') | 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 23cadec00fd970858850d6ee573f5b42c6666cda..cfbdda831a12a35492570392df7c16594d4f5be2 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -26,6 +26,7 @@
namespace net {
class ClientSocket;
+class LoadLog;
class SSLClientSocket;
struct MockConnect {
@@ -232,7 +233,7 @@ class MockClientSocket : public net::SSLClientSocket {
MockClientSocket();
// ClientSocket methods:
- virtual int Connect(net::CompletionCallback* callback) = 0;
+ virtual int Connect(net::CompletionCallback* callback, LoadLog* load_log) = 0;
// SSLClientSocket methods:
virtual void GetSSLInfo(net::SSLInfo* ssl_info);
@@ -268,7 +269,8 @@ class MockTCPClientSocket : public MockClientSocket {
net::MockSocket* socket);
// ClientSocket methods:
- virtual int Connect(net::CompletionCallback* callback);
+ virtual int Connect(net::CompletionCallback* callback,
+ LoadLog* load_log);
// Socket methods:
virtual int Read(net::IOBuffer* buf, int buf_len,
@@ -298,7 +300,7 @@ class MockSSLClientSocket : public MockClientSocket {
virtual void GetSSLInfo(net::SSLInfo* ssl_info);
- virtual int Connect(net::CompletionCallback* callback);
+ virtual int Connect(net::CompletionCallback* callback, LoadLog* load_log);
virtual void Disconnect();
// Socket methods:
« no previous file with comments | « net/socket/client_socket_pool_base_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698