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

Unified Diff: content/browser/web_contents/web_contents_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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index d2fc73d3f99ffff72e85459f9002d60f636cd254..e99c7c67f574750a1197b9660e551d2bd72c5602 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -336,17 +336,22 @@ class CONTENT_EXPORT WebContentsImpl
virtual void DocumentOnLoadCompletedInMainFrame(
RenderViewHost* render_view_host,
int32 page_id) OVERRIDE;
- virtual void RequestOpenURL(RenderViewHost* rvh,
- const GURL& url,
- const Referrer& referrer,
- WindowOpenDisposition disposition,
- int64 source_frame_id) OVERRIDE;
+ 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) OVERRIDE;
virtual void RequestTransferURL(
const GURL& url,
const Referrer& referrer,
WindowOpenDisposition disposition,
int64 source_frame_id,
- const GlobalRequestID& transferred_global_request_id) OVERRIDE;
+ const GlobalRequestID& transferred_global_request_id,
+ std::string extra_header,
+ scoped_refptr<webkit_glue::ResourceRequestBody> request_body) OVERRIDE;
virtual void RouteCloseEvent(RenderViewHost* rvh) OVERRIDE;
virtual void RouteMessageEvent(
RenderViewHost* rvh,
@@ -461,7 +466,6 @@ class CONTENT_EXPORT WebContentsImpl
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE;
-
private:
friend class NavigationControllerImpl;
friend class WebContentsObserver;

Powered by Google App Engine
This is Rietveld 408576698