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

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

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Rebasing... Created 4 years, 3 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 05caf6abbd14b30c27ba13b4e8e0249b4ca0ab43..ea4f8ff55167f8459578c58d208441ada625989a 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -113,6 +113,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,
@@ -133,7 +134,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