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

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

Issue 2584513003: PlzNavigate: identify same-page browser-initiated navigation. (Closed)
Patch Set: Very minor fix. Created 3 years, 11 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_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index 79eb1265723b7b448cc61508f46f0f3d6eacf9c9..3e8bc7df1b0a62b3ef927860544244ffb2270409 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -708,6 +708,7 @@ StartNavigationParams NavigationEntryImpl::ConstructStartNavigationParams()
RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
const FrameNavigationEntry& frame_entry,
+ bool is_same_document_fragment_change,
bool is_same_document_history_load,
bool is_history_navigation_in_new_child,
const std::map<std::string, bool>& subframe_unique_names,
@@ -741,11 +742,11 @@ RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
#endif
RequestNavigationParams request_params(
GetIsOverridingUserAgent(), redirects, GetCanLoadLocalResources(),
- frame_entry.page_state(), GetUniqueID(), is_same_document_history_load,
- is_history_navigation_in_new_child, subframe_unique_names,
- has_committed_real_load, intended_as_new_entry, pending_offset_to_send,
- current_offset_to_send, current_length_to_send, IsViewSourceMode(),
- should_clear_history_list(), user_gesture);
+ frame_entry.page_state(), GetUniqueID(), is_same_document_fragment_change,
+ is_same_document_history_load, is_history_navigation_in_new_child,
+ subframe_unique_names, has_committed_real_load, intended_as_new_entry,
+ pending_offset_to_send, current_offset_to_send, current_length_to_send,
+ IsViewSourceMode(), should_clear_history_list(), user_gesture);
#if defined(OS_ANDROID)
if (GetDataURLAsString() &&
GetDataURLAsString()->size() <= kMaxLengthOfDataURLString) {

Powered by Google App Engine
This is Rietveld 408576698