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

Unified Diff: net/url_request/url_request_throttler_entry_interface.h

Issue 1148603003: Remove X-Chrome-Exponential-Throttling header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 7 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 47f5ea16921bdade9bf0d2f6e6d36e3d3829c9e6..8487bb98431bb313a6f1c09044c4ed51ea7c0d22 100644
--- a/net/url_request/url_request_throttler_entry_interface.h
+++ b/net/url_request/url_request_throttler_entry_interface.h
@@ -51,9 +51,7 @@ class NET_EXPORT URLRequestThrottlerEntryInterface
virtual base::TimeTicks GetExponentialBackoffReleaseTime() const = 0;
// This method needs to be called each time a response is received.
- virtual void UpdateWithResponse(
- const std::string& host,
- const URLRequestThrottlerHeaderInterface* response) = 0;
+ virtual void UpdateWithResponse(int status_code) = 0;
// Lets higher-level modules, that know how to parse particular response
// bodies, notify of receiving malformed content for the given URL. This will
« no previous file with comments | « net/url_request/url_request_throttler_entry.cc ('k') | net/url_request/url_request_throttler_header_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698