Index: net/http/http_network_transaction.h |
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h |
index ed63db0331059a099a5a0d5273505b95f96041ab..0ec80afc8d79330f89a2524c7ef204aa134c2570 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, |