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

Unified Diff: net/socket/socket_test_util.cc

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/socket_test_util.h ('k') | net/socket/socks5_client_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.cc
===================================================================
--- net/socket/socket_test_util.cc (revision 41560)
+++ net/socket/socket_test_util.cc (working copy)
@@ -83,7 +83,7 @@
}
int MockTCPClientSocket::Connect(net::CompletionCallback* callback,
- LoadLog* load_log) {
+ const BoundNetLog& net_log) {
if (connected_)
return net::OK;
connected_ = true;
@@ -252,10 +252,10 @@
}
int MockSSLClientSocket::Connect(net::CompletionCallback* callback,
- LoadLog* load_log) {
+ const BoundNetLog& net_log) {
ConnectCallback* connect_callback = new ConnectCallback(
this, callback, data_->connect.result);
- int rv = transport_->Connect(connect_callback, load_log);
+ int rv = transport_->Connect(connect_callback, net_log);
if (rv == net::OK) {
delete connect_callback;
if (data_->connect.async) {
« no previous file with comments | « net/socket/socket_test_util.h ('k') | net/socket/socks5_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698