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

Unified Diff: chrome/browser/ui/browser_navigator.h

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New OpenURL function and DataType Test 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: chrome/browser/ui/browser_navigator.h
diff --git a/chrome/browser/ui/browser_navigator.h b/chrome/browser/ui/browser_navigator.h
index 5df4136a0243f80a988448795cd27905cee9b319..f8e8d7650e22e602c851449b8275725b1fa9bb12 100644
--- a/chrome/browser/ui/browser_navigator.h
+++ b/chrome/browser/ui/browser_navigator.h
@@ -10,10 +10,15 @@
#include "chrome/browser/ui/host_desktop.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/global_request_id.h"
+#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/referrer.h"
#include "googleurl/src/gurl.h"
#include "ui/gfx/rect.h"
+// chrome/browser/ui/browser_navigator.h
+// Illegal include: "webkit/glue/resource_request_body.h"
+// Because of "-webkit" from chrome's include_rules.
+//#include "webkit/glue/resource_request_body.h"
#include "webkit/glue/window_open_disposition.h"
class Browser;
@@ -203,6 +208,9 @@ struct NavigateParams {
// explicitly or inferred from an existing Browser instance.
chrome::HostDesktopType host_desktop_type;
+ // request body
+ scoped_refptr<webkit_glue::ResourceRequestBody> browser_initiated_post_data;
+
private:
NavigateParams();
};

Powered by Google App Engine
This is Rietveld 408576698