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

Unified Diff: content/public/browser/page_navigator.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuse ResourceRequestBody Struct Created 8 years, 1 month 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/public/browser/page_navigator.h
diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h
index 90eaef6ca9c78d6ce6952e2b371f08b0e9edc385..c54d47f96e4412db1c1627e0ec2c5146076994e3 100644
--- a/content/public/browser/page_navigator.h
+++ b/content/public/browser/page_navigator.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/global_request_id.h"
+#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/referrer.h"
#include "googleurl/src/gurl.h"
@@ -21,6 +22,7 @@
namespace content {
class WebContents;
+struct ViewMsg_Request;
struct CONTENT_EXPORT OpenURLParams {
OpenURLParams(const GURL& url,
@@ -64,6 +66,9 @@ struct CONTENT_EXPORT OpenURLParams {
// transferred to a new renderer.
GlobalRequestID transferred_global_request_id;
+ // The Post data in HTTPRequest body.
+ ViewMsg_Request request;
michaeln 2012/11/02 00:08:23 There's some overlap between member of tha OpenURL
irobert 2012/11/02 17:22:55 Besides the url member, the other member in the Vi
+
private:
OpenURLParams();
};

Powered by Google App Engine
This is Rietveld 408576698