diff options
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r-- | net/http/http_network_transaction.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index ed63db0..0ec80af 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -88,8 +88,8 @@ class HttpNetworkTransaction : public HttpTransaction { int DoDrainBodyForAuthRestart(); int DoDrainBodyForAuthRestartComplete(int result); - // Record histogram of time to acquire a TCP connection. - void LogTCPConnectionMetrics() const; + // Record histograms of latency until Connect() completes. + void LogTCPConnectedMetrics() const; // Record histogram of time until first byte of header is received. void LogTransactionConnectedMetrics() const; @@ -323,6 +323,9 @@ class HttpNetworkTransaction : public HttpTransaction { // The time the Connect() method was called (if it got called). base::Time connect_start_time_; + // The time the host resolution started (if it indeed got started). + base::Time host_resolution_start_time_; + enum State { STATE_RESOLVE_PROXY, STATE_RESOLVE_PROXY_COMPLETE, |