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

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

Issue 2653953005: PlzNavigate: transmit redirect info to the renderer side (Closed)
Patch Set: Rebase + addressed comments Created 3 years, 10 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 04c07a467122f2e00109f80b507c88569e20654a..880d0a21ae843f87d6f31d1b9420e18059526fae 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -702,6 +702,8 @@ StartNavigationParams NavigationEntryImpl::ConstructStartNavigationParams()
RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
const FrameNavigationEntry& frame_entry,
+ const GURL& original_url,
+ const std::string& original_method,
bool is_history_navigation_in_new_child,
const std::map<std::string, bool>& subframe_unique_names,
bool has_committed_real_load,
@@ -733,8 +735,8 @@ RequestNavigationParams NavigationEntryImpl::ConstructRequestNavigationParams(
user_gesture = has_user_gesture();
#endif
RequestNavigationParams request_params(
- GetIsOverridingUserAgent(), redirects, GetCanLoadLocalResources(),
- frame_entry.page_state(), GetUniqueID(),
+ GetIsOverridingUserAgent(), redirects, original_url, original_method,
+ GetCanLoadLocalResources(), frame_entry.page_state(), GetUniqueID(),
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(),
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.h ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698