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

Unified Diff: net/socket/socket_test_util.h

Issue 848006: Generalize the net module's LoadLog facility from a passive container, to an event stream (NetLog). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Split up RequestTracker into ConnectJobTracker+RequestTracker+RequestTrackerBase, address comments Created 10 years, 9 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 | « 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
===================================================================
--- net/socket/socket_test_util.h (revision 41560)
+++ net/socket/socket_test_util.h (working copy)
@@ -35,8 +35,8 @@
ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ = -10000,
};
+class BoundNetLog;
class ClientSocket;
-class LoadLog;
class MockClientSocket;
class SSLClientSocket;
@@ -272,7 +272,8 @@
MockClientSocket();
// ClientSocket methods:
- virtual int Connect(net::CompletionCallback* callback, LoadLog* load_log) = 0;
+ virtual int Connect(net::CompletionCallback* callback,
+ const BoundNetLog& net_log) = 0;
virtual void Disconnect();
virtual bool IsConnected() const;
virtual bool IsConnectedAndIdle() const;
@@ -316,7 +317,7 @@
// ClientSocket methods:
virtual int Connect(net::CompletionCallback* callback,
- LoadLog* load_log);
+ const BoundNetLog& net_log);
virtual bool IsConnected() const;
virtual bool IsConnectedAndIdle() const { return IsConnected(); }
@@ -362,7 +363,8 @@
virtual void GetSSLInfo(net::SSLInfo* ssl_info);
- virtual int Connect(net::CompletionCallback* callback, LoadLog* load_log);
+ virtual int Connect(net::CompletionCallback* callback,
+ const BoundNetLog& net_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