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

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

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: Attempting to rebase on top of clamy@'s other CL. 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/navigation_entry_impl.h
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
index d2b34d3bdd59f8a0b08eec02af388bcf02e80a10..550dc23a4f41542e1f1f5f96af02e72869c49af4 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -23,6 +23,7 @@
#include "content/public/common/ssl_status.h"
namespace content {
+class ResourceRequestBody;
struct CommonNavigationParams;
struct RequestNavigationParams;
struct StartNavigationParams;
@@ -159,14 +160,18 @@ class CONTENT_EXPORT NavigationEntryImpl
// Helper functions to construct NavigationParameters for a navigation to this
// NavigationEntry.
+ scoped_refptr<ResourceRequestBody> ConstructBodyFromBrowserInitiatedPostData()
+ const;
CommonNavigationParams ConstructCommonNavigationParams(
const FrameNavigationEntry& frame_entry,
+ bool force_post_method,
const GURL& dest_url,
const Referrer& dest_referrer,
FrameMsg_Navigate_Type::Value navigation_type,
LoFiState lofi_state,
const base::TimeTicks& navigation_start) const;
- StartNavigationParams ConstructStartNavigationParams() const;
+ StartNavigationParams ConstructStartNavigationParams(
+ const scoped_refptr<ResourceRequestBody>& post_body) const;
RequestNavigationParams ConstructRequestNavigationParams(
const FrameNavigationEntry& frame_entry,
bool is_same_document_history_load,
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_entry_impl.cc » ('j') | content/browser/frame_host/navigation_request.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698