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

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

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stop calling didCreateDataSource for same-page navs 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
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..3f6b095bc1e39a0a7ad3d095fbb6cdf48a4549d8 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
#define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
+#include "base/time/time.h"
#include "content/common/content_export.h"
#include "content/public/browser/navigation_throttle.h"
#include "content/public/common/referrer.h"
@@ -39,6 +40,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 browser
+ // process. Corresponds to Navigation Timing API Standard.
+ virtual const base::TimeTicks& GetNavigationStart() = 0;
+
// Parameters available at network request start time ------------------------
//
// The following parameters are only available when the network request is

Powered by Google App Engine
This is Rietveld 408576698