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

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: Fix FileRead Permission Created 8 years, 2 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/public/browser/page_navigator.h
diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h
index 90eaef6ca9c78d6ce6952e2b371f08b0e9edc385..06afaf0b49a7dea5582f567eb7b6031e0b804529 100644
--- a/content/public/browser/page_navigator.h
+++ b/content/public/browser/page_navigator.h
@@ -10,7 +10,12 @@
#define CONTENT_PUBLIC_BROWSER_PAGE_NAVIGATOR_H_
#include <string>
+#include <vector>
+#include "content/public/common/frame_navigate_params.h"
+
+#include "base/base_export.h"
+#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/common/page_transition_types.h"
@@ -18,9 +23,11 @@
#include "googleurl/src/gurl.h"
#include "webkit/glue/window_open_disposition.h"
+
namespace content {
class WebContents;
+struct WebHTTPPOSTBodyParams;
struct CONTENT_EXPORT OpenURLParams {
OpenURLParams(const GURL& url,
@@ -64,6 +71,9 @@ struct CONTENT_EXPORT OpenURLParams {
// transferred to a new renderer.
GlobalRequestID transferred_global_request_id;
+ // The Post data in HTTPRequest body.
+ std::vector<content::WebHTTPPOSTBodyParams> post_data;
+
private:
OpenURLParams();
};

Powered by Google App Engine
This is Rietveld 408576698