Searched refs:URLRequestThrottlerEntry (Results 1 – 6 of 6) sorted by relevance
/external/chromium/net/url_request/ |
D | url_request_throttler_entry.cc | 17 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 …]
|
D | url_request_throttler_entry.h | 31 class URLRequestThrottlerEntry : public URLRequestThrottlerEntryInterface { 71 explicit URLRequestThrottlerEntry(URLRequestThrottlerManager* manager); 76 URLRequestThrottlerEntry(URLRequestThrottlerManager* manager, 105 virtual ~URLRequestThrottlerEntry(); 159 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerEntry);
|
D | url_request_throttler_manager.cc | 31 scoped_refptr<URLRequestThrottlerEntry>& entry = url_entries_[url_id]; in RegisterRequestUrl() 33 entry = new URLRequestThrottlerEntry(this); in RegisterRequestUrl() 65 URLRequestThrottlerEntry* entry) { in OverrideEntryForTests()
|
D | url_request_throttler_unittest.cc | 44 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()
|
D | url_request_throttler_manager.h | 54 void OverrideEntryForTests(const GURL& url, URLRequestThrottlerEntry* entry); 99 typedef std::map<std::string, scoped_refptr<URLRequestThrottlerEntry> >
|
/external/chromium/chrome/common/net/ |
D | url_fetcher_unittest.cc | 581 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(
|