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

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

Issue 1427633004: Send navigation_start to the browser in DidStartProvisionalLoad IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation_start_renderer
Patch Set: Don't expose too much in public test infra 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/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 9b5f7efe8d1a4a6c37210f9c4c04bfe2cd2051c7..e5f8eccfc3a937e9646ca70ec1fca9eb181195d6 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -796,9 +796,11 @@ void RenderFrameHostImpl::OnDocumentOnLoadCompleted(
delegate_->DocumentOnLoadCompleted(this);
}
-void RenderFrameHostImpl::OnDidStartProvisionalLoadForFrame(const GURL& url) {
- frame_tree_node_->navigator()->DidStartProvisionalLoad(
- this, url);
+void RenderFrameHostImpl::OnDidStartProvisionalLoadForFrame(
+ const GURL& url,
+ const base::TimeTicks& navigation_start) {
+ frame_tree_node_->navigator()->DidStartProvisionalLoad(this, url,
+ navigation_start);
}
void RenderFrameHostImpl::OnDidFailProvisionalLoadWithError(
@@ -938,7 +940,7 @@ void RenderFrameHostImpl::OnDidCommitProvisionalLoad(const IPC::Message& msg) {
// message.
if (!navigation_handle_) {
navigation_handle_ = NavigationHandleImpl::Create(
- validated_params.url, frame_tree_node_);
+ validated_params.url, frame_tree_node_, base::TimeTicks::Now());
}
accessibility_reset_count_ = 0;

Powered by Google App Engine
This is Rietveld 408576698