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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2457583007: [PageLoadMetrics] Create page load timing metrics for H2/QUIC/H1 pages (Closed)
Patch Set: Address comments from PS6 Created 4 years, 1 month 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
Index: content/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index 72086dd7a2d5c6641ef89e6e747b85c5ff5e383c..658d4e342370c63eb5b0f91ee2553a6206e4705a 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -355,7 +355,7 @@ void NavigationRequest::OnRequestRedirected(
// TODO(clamy): pass the real value for |is_external_protocol| if needed.
navigation_handle_->WillRedirectRequest(
common_params_.url, common_params_.method, common_params_.referrer.url,
- false, response->head.headers,
+ false, response->head.headers, response->head.connection_info,
base::Bind(&NavigationRequest::OnRedirectChecksComplete,
base::Unretained(this)));
}
@@ -425,9 +425,10 @@ void NavigationRequest::OnResponseStarted(
// TODO(clamy): pass the right values for request_id, is_download and
// is_stream.
navigation_handle_->WillProcessResponse(
- render_frame_host, response->head.headers.get(), ssl_status,
- GlobalRequestID(), common_params_.should_replace_current_entry, false,
- false, base::Closure(),
+ render_frame_host, response->head.headers.get(),
+ response->head.connection_info, ssl_status, GlobalRequestID(),
+ common_params_.should_replace_current_entry, false, false,
+ base::Closure(),
base::Bind(&NavigationRequest::OnWillProcessResponseChecksComplete,
base::Unretained(this)));
}
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl_unittest.cc ('k') | content/browser/loader/navigation_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698