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

Unified Diff: net/socket/client_socket_pool_base.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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
Index: net/socket/client_socket_pool_base.cc
diff --git a/net/socket/client_socket_pool_base.cc b/net/socket/client_socket_pool_base.cc
index cd4ce3a90613b5da1f504c4581a3b0faa7f3b42a..fd8492f992170e8fa057c73be29ec54e446930f6 100644
--- a/net/socket/client_socket_pool_base.cc
+++ b/net/socket/client_socket_pool_base.cc
@@ -40,7 +40,7 @@ ConnectJob::ConnectJob(const std::string& group_name,
RequestPriority priority,
ClientSocketPool::RespectLimits respect_limits,
Delegate* delegate,
- const BoundNetLog& net_log)
+ const NetLogWithSource& net_log)
: group_name_(group_name),
timeout_duration_(timeout_duration),
priority_(priority),
@@ -131,7 +131,7 @@ ClientSocketPoolBaseHelper::Request::Request(
RequestPriority priority,
ClientSocketPool::RespectLimits respect_limits,
Flags flags,
- const BoundNetLog& net_log)
+ const NetLogWithSource& net_log)
: handle_(handle),
callback_(callback),
priority_(priority),
@@ -860,7 +860,7 @@ void ClientSocketPoolBaseHelper::OnConnectJobComplete(
// Copies of these are needed because |job| may be deleted before they are
// accessed.
- BoundNetLog job_log = job->net_log();
+ NetLogWithSource job_log = job->net_log();
LoadTimingInfo::ConnectTiming connect_timing = job->connect_timing();
// RemoveConnectJob(job, _) must be called by all branches below;
@@ -973,7 +973,7 @@ void ClientSocketPoolBaseHelper::HandOutSocket(
ClientSocketHandle* handle,
base::TimeDelta idle_time,
Group* group,
- const BoundNetLog& net_log) {
+ const NetLogWithSource& net_log) {
DCHECK(socket);
handle->SetSocket(std::move(socket));
handle->set_reuse_type(reuse_type);

Powered by Google App Engine
This is Rietveld 408576698