Index: net/socket/tcp_client_socket_pool.cc |
=================================================================== |
--- net/socket/tcp_client_socket_pool.cc (revision 45828) |
+++ net/socket/tcp_client_socket_pool.cc (working copy) |
@@ -201,12 +201,13 @@ |
if (net_log.HasListener()) { |
// TODO(eroman): Split out the host and port parameters. |
- net_log.AddEventWithString( |
+ net_log.AddEvent( |
NetLog::TYPE_TCP_CLIENT_SOCKET_POOL_REQUESTED_SOCKET, |
- "host_and_port", |
- StringPrintf("%s [port %d]", |
- casted_params->destination().hostname().c_str(), |
- casted_params->destination().port())); |
+ new NetLogStringParameter( |
+ "host_and_port", |
+ StringPrintf("%s [port %d]", |
+ casted_params->destination().hostname().c_str(), |
+ casted_params->destination().port()))); |
} |
return base_.RequestSocket(group_name, *casted_params, priority, handle, |