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

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: Fix test 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..a3ef6870176c900446f4c63852c035de8a32bae1 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(const std::string& host, 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

Powered by Google App Engine
This is Rietveld 408576698