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

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: Fix FileRead Permission Created 8 years, 2 months 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..dea6c2be0b5783c71ff9be630ab0a7cd14d2080c 100644
--- a/chrome/browser/ui/browser_navigator.h
+++ b/chrome/browser/ui/browser_navigator.h
@@ -7,6 +7,9 @@
#include <string>
+#include "content/public/common/frame_navigate_params.h"
+
+#include "base/memory/ref_counted.h"
#include "chrome/browser/ui/host_desktop.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/global_request_id.h"
@@ -19,6 +22,7 @@
class Browser;
class Profile;
class TabContents;
+using content::WebHTTPPOSTBodyParams;
namespace chrome {
@@ -203,6 +207,9 @@ struct NavigateParams {
// explicitly or inferred from an existing Browser instance.
chrome::HostDesktopType host_desktop_type;
+ // post data
+ std::vector<content::WebHTTPPOSTBodyParams> post_data;
michaeln 2012/10/23 23:22:18 How is this construct different than ResourceReque
irobert 2012/10/24 00:51:17 This is the exactly same as the ResourceRequestBod
michaeln 2012/10/24 23:45:39 Looks like ResourceRequestBody and it's Element da
+
private:
NavigateParams();
};

Powered by Google App Engine
This is Rietveld 408576698