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

Unified Diff: net/url_request/url_request_throttler_entry_interface.h

Issue 6711046: Add an opt-out header for HTTP throttling. Never throttle for localhost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 9 years, 9 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: net/url_request/url_request_throttler_entry_interface.h
diff --git a/net/url_request/url_request_throttler_entry_interface.h b/net/url_request/url_request_throttler_entry_interface.h
index a8be836290f78dc587721c4aa92f273445d17334..0e329dd46b07064194b7d8af6acf9d5799f142fb 100644
--- a/net/url_request/url_request_throttler_entry_interface.h
+++ b/net/url_request/url_request_throttler_entry_interface.h
@@ -43,6 +43,7 @@ class URLRequestThrottlerEntryInterface
// This method needs to be called each time a response is received.
virtual void UpdateWithResponse(
+ const std::string& host,
const URLRequestThrottlerHeaderInterface* response) = 0;
// Lets higher-level modules, that know how to parse particular response

Powered by Google App Engine
This is Rietveld 408576698