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

Unified Diff: content/browser/frame_host/render_frame_host_impl.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: 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_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index de78df1b008a679665336147ce250c5ad9bf3a98..a6bd781d3313f3a4d084f1549a0f4614f7aee428 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1183,11 +1183,12 @@ void RenderFrameHostImpl::OnCrossSiteResponse(
const std::vector<GURL>& transfer_url_chain,
const Referrer& referrer,
ui::PageTransition page_transition,
- bool should_replace_current_entry) {
+ bool should_replace_current_entry,
+ const scoped_refptr<ResourceRequestBody>& resource_request_body) {
frame_tree_node_->render_manager()->OnCrossSiteResponse(
this, global_request_id, std::move(cross_site_transferring_request),
transfer_url_chain, referrer, page_transition,
- should_replace_current_entry);
+ should_replace_current_entry, resource_request_body);
}
void RenderFrameHostImpl::SwapOut(

Powered by Google App Engine
This is Rietveld 408576698