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

Unified Diff: content/renderer/render_view_impl.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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index d53073e7dbaedf97ada337140c3af8bc552e3325..9eb0e1e9f7b9552f4e2864dac992162200ca09d9 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -45,6 +45,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h"
#include "ui/surface/transport_dib.h"
+#include "webkit/glue/resource_request_body.h"
#include "webkit/glue/webpreferences.h"
#include "webkit/media/webmediaplayer_delegate.h"
#include "webkit/plugins/npapi/webplugin_page_delegate.h"
@@ -857,7 +858,9 @@ class RenderViewImpl : public RenderWidget,
void OpenURL(WebKit::WebFrame* frame,
const GURL& url,
const Referrer& referrer,
- WebKit::WebNavigationPolicy policy);
+ WebKit::WebNavigationPolicy policy,
+ std::string extra_header,
+ scoped_refptr<webkit_glue::ResourceRequestBody> request_body);
bool RunJavaScriptMessage(JavaScriptMessageType type,
const string16& message,

Powered by Google App Engine
This is Rietveld 408576698