Home
last modified time | relevance | path

Searched refs:URLRequestThrottlerEntry (Results 1 – 6 of 6) sorted by relevance

/external/chromium/net/url_request/
Durl_request_throttler_entry.cc17 const int URLRequestThrottlerEntry::kDefaultSlidingWindowPeriodMs = 2000;
18 const int URLRequestThrottlerEntry::kDefaultMaxSendThreshold = 20;
35 const int URLRequestThrottlerEntry::kDefaultNumErrorsToIgnore = 4;
36 const int URLRequestThrottlerEntry::kDefaultInitialBackoffMs = 700;
37 const double URLRequestThrottlerEntry::kDefaultMultiplyFactor = 1.4;
38 const double URLRequestThrottlerEntry::kDefaultJitterFactor = 0.4;
39 const int URLRequestThrottlerEntry::kDefaultMaximumBackoffMs = 15 * 60 * 1000;
40 const int URLRequestThrottlerEntry::kDefaultEntryLifetimeMs = 2 * 60 * 1000;
41 const char URLRequestThrottlerEntry::kRetryHeaderName[] = "X-Retry-After";
42 const char URLRequestThrottlerEntry::kExponentialThrottlingHeader[] =
[all …]
Durl_request_throttler_entry.h31 class URLRequestThrottlerEntry : public URLRequestThrottlerEntryInterface {
71 explicit URLRequestThrottlerEntry(URLRequestThrottlerManager* manager);
76 URLRequestThrottlerEntry(URLRequestThrottlerManager* manager,
105 virtual ~URLRequestThrottlerEntry();
159 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerEntry);
Durl_request_throttler_manager.cc31 scoped_refptr<URLRequestThrottlerEntry>& entry = url_entries_[url_id]; in RegisterRequestUrl()
33 entry = new URLRequestThrottlerEntry(this); in RegisterRequestUrl()
65 URLRequestThrottlerEntry* entry) { in OverrideEntryForTests()
Durl_request_throttler_unittest.cc44 class MockURLRequestThrottlerEntry : public URLRequestThrottlerEntry {
48 : net::URLRequestThrottlerEntry(manager), in MockURLRequestThrottlerEntry()
57 : net::URLRequestThrottlerEntry(manager), in MockURLRequestThrottlerEntry()
103 return URLRequestThrottlerEntry::sliding_window_release_time(); in sliding_window_release_time()
108 URLRequestThrottlerEntry::set_sliding_window_release_time( in set_sliding_window_release_time()
339 int max_send = URLRequestThrottlerEntry::kDefaultMaxSendThreshold; in TEST_F()
341 URLRequestThrottlerEntry::kDefaultSlidingWindowPeriodMs; in TEST_F()
Durl_request_throttler_manager.h54 void OverrideEntryForTests(const GURL& url, URLRequestThrottlerEntry* entry);
99 typedef std::map<std::string, scoped_refptr<URLRequestThrottlerEntry> >
/external/chromium/chrome/common/net/
Durl_fetcher_unittest.cc581 scoped_refptr<net::URLRequestThrottlerEntry> entry(
582 new net::URLRequestThrottlerEntry(manager, 200, 3, 1, 2.0, 0.0, 256));
604 scoped_refptr<net::URLRequestThrottlerEntry> entry(
605 new net::URLRequestThrottlerEntry(manager, 200, 3, 1, 2.0, 0.0, 256));
627 scoped_refptr<net::URLRequestThrottlerEntry> entry(
628 new net::URLRequestThrottlerEntry(
673 scoped_refptr<net::URLRequestThrottlerEntry> entry(
674 new net::URLRequestThrottlerEntry(
703 scoped_refptr<net::URLRequestThrottlerEntry> entry(
704 new net::URLRequestThrottlerEntry(