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

Unified Diff: content/browser/loader/navigation_resource_throttle.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/loader/navigation_resource_throttle.h
diff --git a/content/browser/loader/navigation_resource_throttle.h b/content/browser/loader/navigation_resource_throttle.h
index 753d99b33942e3658b5262f9280ff9488fac6e3e..308faf94bf7ed809505a7087f4b53bcbd04e0327 100644
--- a/content/browser/loader/navigation_resource_throttle.h
+++ b/content/browser/loader/navigation_resource_throttle.h
@@ -32,7 +32,8 @@ class NavigationResourceThrottle : public ResourceThrottle {
const char* GetNameForLogging() const override;
private:
- void OnUIChecksPerformed(NavigationThrottle::ThrottleCheckResult result);
+ void OnUIChecksPerformed(NavigationThrottle::ThrottleCheckResult result,
+ const std::vector<std::pair<std::string, std::string> >& extra_headers);
davidben 2015/12/03 23:44:57 > > can be >> now
net::URLRequest* request_;
base::WeakPtrFactory<NavigationResourceThrottle> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698