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

Unified Diff: content/common/view_messages.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/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 606ab611198751693a03c1ef0b9bb9f4a95c13bd..2722afba7771824a70c15126c0209cdd93bc0d4f 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -47,6 +47,7 @@
#include "ui/gfx/rect.h"
#include "ui/gfx/rect_f.h"
#include "ui/gfx/vector2d.h"
+#include "webkit/glue/resource_request_body.h"
#include "webkit/glue/webcookie.h"
#include "webkit/glue/webmenuitem.h"
#include "webkit/glue/webpreferences.h"
@@ -743,7 +744,8 @@ IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params)
// If is_post is true, holds the post_data information from browser. Empty
// otherwise.
- IPC_STRUCT_MEMBER(std::vector<unsigned char>, browser_initiated_post_data)
+ IPC_STRUCT_MEMBER(scoped_refptr<webkit_glue::ResourceRequestBody>,
+ browser_initiated_post_data)
// Whether or not this url should be allowed to access local file://
// resources.
@@ -757,6 +759,9 @@ IPC_STRUCT_BEGIN(ViewHostMsg_OpenURL_Params)
IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
IPC_STRUCT_MEMBER(int64, frame_id)
IPC_STRUCT_MEMBER(bool, is_cross_site_redirect)
+ IPC_STRUCT_MEMBER(std::string, extra_header)
+ IPC_STRUCT_MEMBER(scoped_refptr<webkit_glue::ResourceRequestBody>,
+ request_body)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewMsg_New_Params)
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698