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

Unified Diff: content/browser/frame_host/navigator.h

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Simplified AreExtraHeadersCompatibleWithPrerenderContents as suggested by mmenke@. Created 4 years, 2 months 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
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | content/browser/frame_host/navigator_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index 8ff2d8bc0f8d8a37e6eb8c3f28bed90a77ef0e19..82ea741b5fe80d4f72c17e7b513a725078d5907e 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -117,6 +117,7 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
const GURL& url,
bool uses_post,
const scoped_refptr<ResourceRequestBodyImpl>& body,
+ const std::string& extra_headers,
SiteInstance* source_site_instance,
const Referrer& referrer,
WindowOpenDisposition disposition,
@@ -137,7 +138,8 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
const GlobalRequestID& transferred_global_request_id,
bool should_replace_current_entry,
const std::string& method,
- scoped_refptr<ResourceRequestBodyImpl> post_body) {}
+ scoped_refptr<ResourceRequestBodyImpl> post_body,
+ const std::string& extra_headers) {}
// PlzNavigate
// Called after receiving a BeforeUnloadACK IPC from the renderer. If
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | content/browser/frame_host/navigator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698