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

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

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Name change + blink layering Created 5 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_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index a6ba970d0c54dd6f92f351c8502b739033430efb..0743e2f8d98490b154983fde9537626379a5c744 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -94,7 +94,8 @@ scoped_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
LoadFlagFromNavigationType(navigation_type),
false, // has_user_gestures
false, // skip_service_worker
- REQUEST_CONTEXT_TYPE_LOCATION),
+ REQUEST_CONTEXT_TYPE_LOCATION,
+ 0 /* renderer_navigation_start */),
entry.ConstructRequestNavigationParams(
frame_entry, navigation_start, is_same_document_history_load,
frame_tree_node->has_committed_real_load(),
@@ -217,9 +218,9 @@ void NavigationRequest::BeginNavigation() {
frame_tree_node_, nullptr, scoped_ptr<StreamHandle>());
}
-void NavigationRequest::CreateNavigationHandle() {
+void NavigationRequest::CreateNavigationHandle(double navigation_start) {
navigation_handle_ = NavigationHandleImpl::Create(
- common_params_.url, frame_tree_node_);
+ common_params_.url, frame_tree_node_, navigation_start);
}
void NavigationRequest::TransferNavigationHandleOwnership(

Powered by Google App Engine
This is Rietveld 408576698