Index: net/url_request/url_request_throttler_manager.h |
diff --git a/net/url_request/url_request_throttler_manager.h b/net/url_request/url_request_throttler_manager.h |
index ee2f2212799342f92e3b0c031f0d360da7c8b3fc..dbc48ac006161d9f6c0b9f5a676e03e365755f30 100644 |
--- a/net/url_request/url_request_throttler_manager.h |
+++ b/net/url_request/url_request_throttler_manager.h |
@@ -47,11 +47,6 @@ class NET_EXPORT URLRequestThrottlerManager |
scoped_refptr<URLRequestThrottlerEntryInterface> RegisterRequestUrl( |
const GURL& url); |
- // Adds the given host to a list of sites for which exponential back-off |
- // throttling will be disabled. Subdomains are not included, so they |
- // must be added separately. |
- void AddToOptOutList(const std::string& host); |
- |
// Registers a new entry in this service and overrides the existing entry (if |
// any) for the URL. The service will hold a reference to the entry. |
// It is only used by unit tests. |
@@ -117,10 +112,6 @@ class NET_EXPORT URLRequestThrottlerManager |
typedef std::map<std::string, scoped_refptr<URLRequestThrottlerEntry> > |
UrlEntryMap; |
- // We maintain a set of hosts that have opted out of exponential |
- // back-off throttling. |
- typedef std::set<std::string> OptOutHosts; |
- |
// Maximum number of entries that we are willing to collect in our map. |
static const unsigned int kMaximumNumberOfEntries; |
// Number of requests that will be made between garbage collection. |
@@ -130,9 +121,6 @@ class NET_EXPORT URLRequestThrottlerManager |
// URLRequestThrottlerEntry. |
UrlEntryMap url_entries_; |
- // Set of hosts that have opted out. |
- OptOutHosts opt_out_hosts_; |
- |
// This keeps track of how many requests have been made. Used with |
// GarbageCollectEntries. |
unsigned int requests_since_last_gc_; |