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

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 Structure and Tests 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..f37cd3ba896769e577f4932936fc483c79efdeca 100644
--- a/content/public/browser/page_navigator.h
+++ b/content/public/browser/page_navigator.h
@@ -16,6 +16,7 @@
#include "content/public/common/page_transition_types.h"
#include "content/public/common/referrer.h"
#include "googleurl/src/gurl.h"
+#include "webkit/glue/resource_request_body.h"
#include "webkit/glue/window_open_disposition.h"
namespace content {
@@ -64,6 +65,9 @@ struct CONTENT_EXPORT OpenURLParams {
// transferred to a new renderer.
GlobalRequestID transferred_global_request_id;
+ // The Post data in HTTPRequest body.
+ scoped_refptr<webkit_glue::ResourceRequestBody> browser_initiated_post_data;
+
private:
OpenURLParams();
};

Powered by Google App Engine
This is Rietveld 408576698