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

Unified Diff: content/browser/frame_host/navigation_request.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: Created 5 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/frame_host/navigation_request.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index 294d086ce677a3f8817dd8ec3b4643e594a10944..b339f550845fb408ebe274484e4987c31dfecd93 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -159,8 +159,14 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
// Called when the NavigationThrottles have been checked by the
// NavigationHandle.
- void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result);
- void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result);
+ void OnStartChecksComplete(
+ NavigationThrottle::ThrottleCheckResult result,
+ const std::vector<std::pair<std:: string, std::string>>&
nasko 2015/11/06 23:51:51 Why not NavigationHandleImpl::ExtraHeadersList? Yo
clamy 2015/11/09 15:47:09 Done.
+ extra_headers_list);
+ void OnRedirectChecksComplete(
+ NavigationThrottle::ThrottleCheckResult result,
+ const std::vector<std::pair<std:: string, std::string>>&
nasko 2015/11/06 23:51:51 Same here.
clamy 2015/11/09 15:47:09 Done.
+ extra_headers_list);
FrameTreeNode* frame_tree_node_;

Powered by Google App Engine
This is Rietveld 408576698