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

Unified Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2457583007: [PageLoadMetrics] Create page load timing metrics for H2/QUIC/H1 pages (Closed)
Patch Set: Fix test Created 4 years, 2 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
Index: content/browser/frame_host/navigation_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index e80ee36b68505fa3caac28890d8ec6204697cba6..2d1f0098ca30ade1d0f16d0de747c202f5cf1abd 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -106,6 +106,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
bool HasCommitted() override;
bool IsErrorPage() override;
const net::HttpResponseHeaders* GetResponseHeaders() override;
+ net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override;
void Resume() override;
void CancelDeferredNavigation(
NavigationThrottle::ThrottleCheckResult result) override;
@@ -216,6 +217,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
const GURL& new_referrer_url,
bool new_is_external_protocol,
scoped_refptr<net::HttpResponseHeaders> response_headers,
+ net::HttpResponseInfo::ConnectionInfo connection_info,
const ThrottleChecksFinishedCallback& callback);
// Called when the URLRequest has delivered response headers and metadata.
@@ -230,6 +232,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
void WillProcessResponse(
RenderFrameHostImpl* render_frame_host,
scoped_refptr<net::HttpResponseHeaders> response_headers,
+ net::HttpResponseInfo::ConnectionInfo connection_info,
const SSLStatus& ssl_status,
const GlobalRequestID& request_id,
bool should_replace_current_entry,
@@ -346,6 +349,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
const bool is_srcdoc_;
bool was_redirected_;
scoped_refptr<net::HttpResponseHeaders> response_headers_;
+ net::HttpResponseInfo::ConnectionInfo connection_info_;
// The original url of the navigation. This may differ from |url_| if the
// navigation encounters redirects.

Powered by Google App Engine
This is Rietveld 408576698