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

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

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Filtering headers in PrerenderManager instead. 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
Index: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index 1580753ec3ed0ed39d8bb14017c215f9625e6d24..2f1a5906639c045e8e6fe5ee48072dc5ece1a2c0 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -114,6 +114,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,
@@ -134,7 +135,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

Powered by Google App Engine
This is Rietveld 408576698