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

Unified Diff: content/public/common/frame_navigate_params.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuse ResourceRequestBody Struct 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/common/frame_navigate_params.h
diff --git a/content/public/common/frame_navigate_params.h b/content/public/common/frame_navigate_params.h
index f3f686c9211d7f18bf33ebdd4b8f1e79dfb2397d..07df799125e995c719cd4ba9282befa658fe6e96 100644
--- a/content/public/common/frame_navigate_params.h
+++ b/content/public/common/frame_navigate_params.h
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
+#include <map>
#include "content/common/content_export.h"
#include "content/public/common/page_transition_types.h"
@@ -14,9 +15,22 @@
#include "content/public/common/referrer.h"
#include "googleurl/src/gurl.h"
#include "net/base/host_port_pair.h"
+#include "webkit/glue/resource_request_body.h"
namespace content {
+// ViewMsg_Request will store all the request info.
+// I believe we should have a new file for this struct.
+struct CONTENT_EXPORT ViewMsg_Request {
+ ViewMsg_Request();
+ ~ViewMsg_Request();
+
+ std::string method;
+ GURL url;
+ std::map<std::string, std::string> headers;
+ scoped_refptr<webkit_glue::ResourceRequestBody> request_body;
michaeln 2012/11/02 00:08:23 Would these additional params make more sense as a
irobert 2012/11/02 17:22:55 I think the question is whether do we need to keep
michaeln 2012/11/02 22:50:02 Can you point me to a bug about redirect chain bei
+};
+
// Struct used by WebContentsObserver.
struct CONTENT_EXPORT FrameNavigateParams {
FrameNavigateParams();

Powered by Google App Engine
This is Rietveld 408576698