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

Unified Diff: content/browser/web_contents/navigation_entry_impl.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/browser/web_contents/navigation_entry_impl.h
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
index 795dafaeda307deb61fd4399a2bf4679c1527578..4f99e0126ebfb4175cf95c9b7c231ca0fd22a05f 100644
--- a/content/browser/web_contents/navigation_entry_impl.h
+++ b/content/browser/web_contents/navigation_entry_impl.h
@@ -11,9 +11,11 @@
#include "content/public/browser/favicon_status.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/navigation_entry.h"
+#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/ssl_status.h"
namespace content {
+struct ViewMsg_Request;
michaeln 2012/11/02 00:08:23 since this struct is defined in frame_navigate_par
irobert 2012/11/02 17:22:55 Done.
class CONTENT_EXPORT NavigationEntryImpl
: public NON_EXPORTED_BASE(NavigationEntry) {
@@ -166,6 +168,9 @@ class CONTENT_EXPORT NavigationEntryImpl
return is_cross_site_reload_;
}
+ // request
+ ViewMsg_Request request;
michaeln 2012/11/02 00:08:23 nits: we put trailing underbars on data members_ a
michaeln 2012/11/02 00:08:23 Also, ditto comments about overlap with the existi
irobert 2012/11/02 17:22:55 Done.
+
private:
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
// Session/Tab restore save portions of this class so that it can be recreated

Powered by Google App Engine
This is Rietveld 408576698