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

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

Issue 1416953007: Add a function to add extra headers from NavigationThrottle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data-reduction-proxy-resource-throttle
Patch Set: Rebase Created 5 years 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/navigation_request_info.h
diff --git a/content/browser/frame_host/navigation_request_info.h b/content/browser/frame_host/navigation_request_info.h
index f63db7738d3cbea252d2c2af181a62149346930b..85155b168cbe34d7095dc1870d7d9c3c5f40d7d5 100644
--- a/content/browser/frame_host/navigation_request_info.h
+++ b/content/browser/frame_host/navigation_request_info.h
@@ -32,7 +32,10 @@ struct CONTENT_EXPORT NavigationRequestInfo {
~NavigationRequestInfo();
const CommonNavigationParams common_params;
- const BeginNavigationParams begin_params;
+
+ // The headers may be changed by NavigationThrottles during calls to
+ // NavigationThrottle::WillStartRequest.
+ BeginNavigationParams begin_params;
// Usually the URL of the document in the top-level window, which may be
// checked by the third-party cookie blocking policy.

Powered by Google App Engine
This is Rietveld 408576698