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

Unified Diff: content/public/browser/navigation_handle.h

Issue 1433533007: [page_load_metrics] Get navigation_start from NavigationHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@change-names-refactor
Patch Set: navigation_start => NavigationStart Created 5 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
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 3b2bbadda772a2f31a97b5faff489b0b730728c9..cc96381fbaa227d5d80dafa1d0c56e0adcd336c6 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -39,6 +39,10 @@ class CONTENT_EXPORT NavigationHandle {
// The WebContents the navigation is taking place in.
WebContents* GetWebContents();
+ // The time the navigation started, recorded either in the renderer or in the
+ // browser process. Corresponds to Navigation Timing API.
+ virtual const base::TimeTicks& NavigationStart() = 0;
+
// Parameters available at network request start time ------------------------
//
// The following parameters are only available when the network request is
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698