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

Unified Diff: content/common/navigation_params.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
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index b232ce3bd64685e3b4961b8ac61a9612735ef51c..613918e74abc842648c5d7f7ed4e03c7780c6995 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -148,6 +148,8 @@ RequestNavigationParams::RequestNavigationParams()
RequestNavigationParams::RequestNavigationParams(
bool is_overriding_user_agent,
const std::vector<GURL>& redirects,
+ const GURL& original_url,
+ const std::string& original_method,
bool can_load_local_resources,
const PageState& page_state,
int nav_entry_id,
@@ -163,6 +165,8 @@ RequestNavigationParams::RequestNavigationParams(
bool has_user_gesture)
: is_overriding_user_agent(is_overriding_user_agent),
redirects(redirects),
+ original_url(original_url),
+ original_method(original_method),
can_load_local_resources(can_load_local_resources),
page_state(page_state),
nav_entry_id(nav_entry_id),
@@ -178,8 +182,7 @@ RequestNavigationParams::RequestNavigationParams(
should_create_service_worker(false),
service_worker_provider_id(kInvalidServiceWorkerProviderId),
appcache_host_id(kAppCacheNoHostId),
- has_user_gesture(has_user_gesture) {
-}
+ has_user_gesture(has_user_gesture) {}
RequestNavigationParams::RequestNavigationParams(
const RequestNavigationParams& other) = default;
« no previous file with comments | « content/common/navigation_params.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698