summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_pool_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/client_socket_pool_base.cc')
-rw-r--r--net/socket/client_socket_pool_base.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/socket/client_socket_pool_base.cc b/net/socket/client_socket_pool_base.cc
index ec32383..4261c55 100644
--- a/net/socket/client_socket_pool_base.cc
+++ b/net/socket/client_socket_pool_base.cc
@@ -103,6 +103,7 @@ void ClientSocketPoolBase::InsertRequestIntoQueue(
}
int ClientSocketPoolBase::RequestSocket(
+ LoadLog* load_log,
const std::string& group_name,
const HostResolver::RequestInfo& resolve_info,
int priority,
@@ -122,7 +123,7 @@ int ClientSocketPoolBase::RequestSocket(
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 @@ int ClientSocketPoolBase::RequestSocket(
// 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 @@ void ClientSocketPoolBase::ProcessPendingRequest(const std::string& group_name,
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);