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

Unified Diff: content/public/browser/navigation_controller.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: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index 8a64d4875c4f4f4eb546f3dfe80e8a7d076649a4..16eaff7c2cc40b858a53339eee9dca0f6c7bc656 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -9,6 +9,8 @@
#include <string>
#include <vector>
+#include "content/public/common/frame_navigate_params.h"
+
#include "base/memory/ref_counted.h"
#include "base/string16.h"
#include "content/common/content_export.h"
@@ -29,6 +31,7 @@ class BrowserContext;
class NavigationEntry;
class SessionStorageNamespace;
class WebContents;
+struct WebHTTPPOSTBodyParams;
// Used to store the mapping of a StoragePartition id to
// SessionStorageNamespace.
@@ -148,6 +151,9 @@ class NavigationController {
// after LoadURLWithParams call.
scoped_refptr<base::RefCountedMemory> browser_initiated_post_data;
+ // post data
+ std::vector<content::WebHTTPPOSTBodyParams> post_data;
+
// True if this URL should be able to access local resources.
bool can_load_local_resources;

Powered by Google App Engine
This is Rietveld 408576698