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

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: 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/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index 8a64d4875c4f4f4eb546f3dfe80e8a7d076649a4..e3cbad419f91a5daa83912187d4570bdee78e9f4 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -13,6 +13,7 @@
#include "base/string16.h"
#include "content/common/content_export.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"
@@ -29,6 +30,7 @@ class BrowserContext;
class NavigationEntry;
class SessionStorageNamespace;
class WebContents;
+struct ViewMsg_Request;
// Used to store the mapping of a StoragePartition id to
// SessionStorageNamespace.
@@ -148,6 +150,9 @@ class NavigationController {
// after LoadURLWithParams call.
scoped_refptr<base::RefCountedMemory> browser_initiated_post_data;
+ // request
+ ViewMsg_Request request;
+
// 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