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

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

Issue 1956383003: Forwarding POST body into renderer after a cross-site transfer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extracted a shared NavigationEntryImpl::ConstructResourceRequestBody. Created 4 years, 7 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/render_frame_proxy_host.cc
diff --git a/content/browser/frame_host/render_frame_proxy_host.cc b/content/browser/frame_host/render_frame_proxy_host.cc
index f4ba295b7add988c7c38c4620db9f4af7ab69cf1..0bbc1fce53ba0517beec84bbbf65ed3f694e4c4d 100644
--- a/content/browser/frame_host/render_frame_proxy_host.cc
+++ b/content/browser/frame_host/render_frame_proxy_host.cc
@@ -251,10 +251,12 @@ void RenderFrameProxyHost::OnOpenURL(
// TODO(alexmos, creis): Figure out whether |params.user_gesture| needs to be
// passed in as well.
+ // TODO(lukasza): https://crbug.com/344348: Plumb through POST data
+ // (and a non-null NavigationHandle?).
clamy 2016/05/19 16:08:00 See my comment in RequestTransferURL in favor of n
Łukasz Anforowicz 2016/05/19 18:06:59 Done.
frame_tree_node_->navigator()->RequestTransferURL(
current_rfh, validated_url, site_instance_.get(), std::vector<GURL>(),
params.referrer, ui::PAGE_TRANSITION_LINK, GlobalRequestID(),
- params.should_replace_current_entry);
+ params.should_replace_current_entry, nullptr);
}
void RenderFrameProxyHost::OnRouteMessageEvent(

Powered by Google App Engine
This is Rietveld 408576698