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

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 Comments 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 9da79309934c57f9d3ebeee461495cb1510f565f..1f91bd4a14ca072dc0e5bc26e69d38c42a88587e 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -45,6 +45,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"
@@ -739,7 +740,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.
@@ -753,6 +755,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)

Powered by Google App Engine
This is Rietveld 408576698