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

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: 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/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 8e45301c60c80bd5721efa790ffae316efc49483..e365b8a90290c44d786e94a0f3af29428e7ce9dd 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -343,19 +343,24 @@ 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,
- bool is_cross_site_redirect) OVERRIDE;
+ virtual void RequestOpenURL(
+ RenderViewHost* rvh,
+ const GURL& url,
+ const Referrer& referrer,
+ WindowOpenDisposition disposition,
+ int64 source_frame_id,
+ bool is_cross_site_redirect,
+ 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,
- bool is_cross_site_redirect) OVERRIDE;
+ bool is_cross_site_redirect,
+ std::string extra_header,
+ scoped_refptr<webkit_glue::ResourceRequestBody> request_body) OVERRIDE;
virtual void RouteCloseEvent(RenderViewHost* rvh) OVERRIDE;
virtual void RouteMessageEvent(
RenderViewHost* rvh,
@@ -465,7 +470,6 @@ class CONTENT_EXPORT WebContentsImpl
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE;
-
private:
friend class NavigationControllerImpl;
friend class WebContentsObserver;
« no previous file with comments | « content/browser/web_contents/render_view_host_manager.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698