| Index: net/socket/ssl_client_socket_pool.cc
|
| diff --git a/net/socket/ssl_client_socket_pool.cc b/net/socket/ssl_client_socket_pool.cc
|
| index 371ec00ca24f06a94ce770a9377e4cdd5807f5e2..188aafe837ce39a205ff54d960067b504a27764a 100644
|
| --- a/net/socket/ssl_client_socket_pool.cc
|
| +++ b/net/socket/ssl_client_socket_pool.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/sparse_histogram.h"
|
| #include "base/profiler/scoped_tracker.h"
|
| +#include "base/trace_event/trace_event.h"
|
| #include "base/values.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/net_errors.h"
|
| @@ -166,12 +167,14 @@ void SSLConnectJob::GetAdditionalErrorState(ClientSocketHandle* handle) {
|
| }
|
|
|
| void SSLConnectJob::OnIOComplete(int result) {
|
| + TRACE_EVENT0("net", "SSLConnectJob::OnIOComplete");
|
| int rv = DoLoop(result);
|
| if (rv != ERR_IO_PENDING)
|
| NotifyDelegateOfCompletion(rv); // Deletes |this|.
|
| }
|
|
|
| int SSLConnectJob::DoLoop(int result) {
|
| + TRACE_EVENT0("net", "SSLConnectJob::DoLoop");
|
| DCHECK_NE(next_state_, STATE_NONE);
|
|
|
| int rv = result;
|
|
|