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

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 Android API, Helper Function and Include_rules 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
« no previous file with comments | « content/public/browser/navigation_entry.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/page_navigator.h
diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h
index bc716df78727a854b16d15298177c7c02d40f020..049cbf4c595fd937a9f91674329cf3fb818b53ce 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 {
@@ -68,6 +69,9 @@ struct CONTENT_EXPORT OpenURLParams {
// in which case it should replace the current navigation entry.
bool is_cross_site_redirect;
+ // The Post data in HTTPRequest body.
+ scoped_refptr<webkit_glue::ResourceRequestBody> browser_initiated_post_data;
+
private:
OpenURLParams();
};
« no previous file with comments | « content/public/browser/navigation_entry.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698