Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: net/http/http_network_transaction.cc

Issue 14625012: net: Return LoadTiming information in the case of a cache hit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Response to eroman. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction.h ('k') | net/http/http_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
===================================================================
--- net/http/http_network_transaction.cc (revision 199488)
+++ net/http/http_network_transaction.cc (working copy)
@@ -397,7 +397,6 @@
load_timing_info->proxy_resolve_end = proxy_info_.proxy_resolve_end_time();
load_timing_info->send_start = send_start_time_;
load_timing_info->send_end = send_end_time_;
- load_timing_info->receive_headers_end = receive_headers_end_;
return true;
}
@@ -846,8 +845,6 @@
}
int HttpNetworkTransaction::DoReadHeadersComplete(int result) {
- receive_headers_end_ = base::TimeTicks::Now();
-
// We can get a certificate error or ERR_SSL_CLIENT_AUTH_CERT_NEEDED here
// due to SSL renegotiation.
if (IsCertificateError(result)) {
@@ -1295,7 +1292,6 @@
void HttpNetworkTransaction::ResetStateForAuthRestart() {
send_start_time_ = base::TimeTicks();
send_end_time_ = base::TimeTicks();
- receive_headers_end_ = base::TimeTicks();
pending_auth_target_ = HttpAuth::AUTH_NONE;
read_buf_ = NULL;
« no previous file with comments | « net/http/http_network_transaction.h ('k') | net/http/http_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698