Index: net/socket/client_socket_pool_base.cc |
=================================================================== |
--- net/socket/client_socket_pool_base.cc (revision 23124) |
+++ net/socket/client_socket_pool_base.cc (working copy) |
@@ -103,6 +103,7 @@ |
} |
int ClientSocketPoolBase::RequestSocket( |
+ LoadLog* load_log, |
const std::string& group_name, |
const HostResolver::RequestInfo& resolve_info, |
int priority, |
@@ -122,7 +123,7 @@ |
may_have_stalled_group_ = true; |
} |
CHECK(callback); |
- Request r(handle, callback, priority, resolve_info); |
+ Request r(load_log, handle, callback, priority, resolve_info); |
InsertRequestIntoQueue(r, &group.pending_requests); |
return ERR_IO_PENDING; |
} |
@@ -142,7 +143,7 @@ |
// We couldn't find a socket to reuse, so allocate and connect a new one. |
CHECK(callback); |
- Request r(handle, callback, priority, resolve_info); |
+ Request r(load_log, handle, callback, priority, resolve_info); |
scoped_ptr<ConnectJob> connect_job( |
connect_job_factory_->NewConnectJob(group_name, r, this)); |
@@ -498,7 +499,7 @@ |
group->pending_requests.pop_front(); |
int rv = RequestSocket( |
- group_name, r.resolve_info, r.priority, r.handle, r.callback); |
+ r.load_log, group_name, r.resolve_info, r.priority, r.handle, r.callback); |
if (rv != ERR_IO_PENDING) { |
r.callback->Run(rv); |