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

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: Fixed compilation issue 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/loader/navigation_resource_throttle.h
diff --git a/content/browser/loader/navigation_resource_throttle.h b/content/browser/loader/navigation_resource_throttle.h
index e46b59d06694d755b3273273544583374d23a94b..a0587b28e30fbf249444c24ae786e7b3157fdcfa 100644
--- a/content/browser/loader/navigation_resource_throttle.h
+++ b/content/browser/loader/navigation_resource_throttle.h
@@ -31,7 +31,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);
net::URLRequest* request_;
base::WeakPtrFactory<NavigationResourceThrottle> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698