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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.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/browser/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index 784ea53af0004fe126cabe7e531f323c8d4eb296..f3fd45de05a564d1693f7f149f1a8c5c6a62a7a8 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -18,6 +18,7 @@
#include "content/public/common/media_stream_request.h"
#include "net/base/load_states.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
+#include "webkit/glue/resource_request_body.h"
#include "webkit/glue/window_open_disposition.h"
class GURL;
@@ -235,11 +236,14 @@ class CONTENT_EXPORT RenderViewHostDelegate {
int32 page_id) {}
// The page wants to open a URL with the specified disposition.
- virtual void RequestOpenURL(RenderViewHost* rvh,
- const GURL& url,
- const Referrer& referrer,
- WindowOpenDisposition disposition,
- int64 source_frame_id) {}
+ virtual void RequestOpenURL(
+ RenderViewHost* rvh,
+ const GURL& url,
+ const Referrer& referrer,
+ WindowOpenDisposition disposition,
+ int64 source_frame_id,
+ std::string extra_header,
+ scoped_refptr<webkit_glue::ResourceRequestBody> request_body) {}
// The page wants to transfer the request to a new renderer.
virtual void RequestTransferURL(
@@ -247,7 +251,9 @@ class CONTENT_EXPORT RenderViewHostDelegate {
const Referrer& referrer,
WindowOpenDisposition disposition,
int64 source_frame_id,
- const GlobalRequestID& old_request_id) {}
+ const GlobalRequestID& old_request_id,
+ std::string extra_header,
+ scoped_refptr<webkit_glue::ResourceRequestBody> request_body) {}
// The page wants to close the active view in this tab.
virtual void RouteCloseEvent(RenderViewHost* rvh) {}

Powered by Google App Engine
This is Rietveld 408576698