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

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: Fix Android API, Helper Function and Include_rules 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 70bd89580935a394568040f51bf182a8e9c044c4..6ebdb9c3b8d92ea42b77d251e563cbc2cbd730e6 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;
@@ -231,12 +232,15 @@ 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,
- bool is_redirect) {}
+ virtual void RequestOpenURL(
+ RenderViewHost* rvh,
+ const GURL& url,
+ const Referrer& referrer,
+ WindowOpenDisposition disposition,
+ int64 source_frame_id,
+ bool is_redirect,
+ 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(
@@ -245,7 +249,9 @@ class CONTENT_EXPORT RenderViewHostDelegate {
WindowOpenDisposition disposition,
int64 source_frame_id,
const GlobalRequestID& old_request_id,
- bool is_redirect) {}
+ bool is_redirect,
+ 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) {}
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698