Index: net/socket/tcp_client_socket.cc |
diff --git a/net/socket/tcp_client_socket.cc b/net/socket/tcp_client_socket.cc |
index a16e11e89ee4dff9ee7c6dd06bbd475ea4eb763e..96402fe1fb642797237ed1aaf2c1f88824cd0106 100644 |
--- a/net/socket/tcp_client_socket.cc |
+++ b/net/socket/tcp_client_socket.cc |
@@ -6,6 +6,7 @@ |
#include "base/callback_helpers.h" |
#include "base/logging.h" |
+#include "base/profiler/scoped_profile.h" |
#include "net/base/io_buffer.h" |
#include "net/base/ip_endpoint.h" |
#include "net/base/net_errors.h" |
@@ -306,6 +307,10 @@ void TCPClientSocket::DidCompleteReadWrite(const CompletionCallback& callback, |
if (result > 0) |
use_history_.set_was_used_to_convey_data(); |
+ // TODO(vadimt): Remove ScopedProfile below once crbug.com/418183 is fixed. |
+ tracked_objects::ScopedProfile tracking_profile( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "TCPClientSocket::DidCompleteReadWrite")); |
callback.Run(result); |
} |