Home
last modified time | relevance | path

Searched refs:URLRequestThrottlerManager (Results 1 – 10 of 10) sorted by relevance

/external/chromium/net/url_request/
Durl_request_throttler_manager.cc13 const unsigned int URLRequestThrottlerManager::kMaximumNumberOfEntries = 1500;
14 const unsigned int URLRequestThrottlerManager::kRequestsBetweenCollecting = 200;
16 URLRequestThrottlerManager* URLRequestThrottlerManager::GetInstance() { in GetInstance()
17 return Singleton<URLRequestThrottlerManager>::get(); in GetInstance()
21 URLRequestThrottlerManager::RegisterRequestUrl(const GURL &url) { in RegisterRequestUrl()
54 void URLRequestThrottlerManager::AddToOptOutList(const std::string& host) { in AddToOptOutList()
63 void URLRequestThrottlerManager::OverrideEntryForTests( in OverrideEntryForTests()
75 void URLRequestThrottlerManager::EraseEntryForTests(const GURL& url) { in EraseEntryForTests()
81 void URLRequestThrottlerManager::set_enable_thread_checks(bool enable) { in set_enable_thread_checks()
85 bool URLRequestThrottlerManager::enable_thread_checks() const { in enable_thread_checks()
[all …]
Durl_request_throttler_manager.h35 class URLRequestThrottlerManager : public base::NonThreadSafe {
37 static URLRequestThrottlerManager* GetInstance();
73 URLRequestThrottlerManager();
74 ~URLRequestThrottlerManager();
95 friend struct DefaultSingletonTraits<URLRequestThrottlerManager>;
137 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerManager);
Durl_request_throttler_entry.h18 class URLRequestThrottlerManager; variable
71 explicit URLRequestThrottlerEntry(URLRequestThrottlerManager* manager);
76 URLRequestThrottlerEntry(URLRequestThrottlerManager* manager,
157 URLRequestThrottlerManager* manager_;
Durl_request_throttler_unittest.cc47 net::URLRequestThrottlerManager* manager) in MockURLRequestThrottlerEntry()
53 net::URLRequestThrottlerManager* manager, in MockURLRequestThrottlerEntry()
160 class MockURLRequestThrottlerManager : public URLRequestThrottlerManager {
368 TEST(URLRequestThrottlerManager, IsUrlStandardised) { in TEST() argument
400 TEST(URLRequestThrottlerManager, AreEntriesBeingCollected) { in TEST() argument
417 TEST(URLRequestThrottlerManager, IsHostBeingRegistered) { in TEST() argument
454 TEST(URLRequestThrottlerManager, OptOutHeader) { in TEST() argument
Durl_request_throttler_entry.cc48 URLRequestThrottlerManager* manager) in URLRequestThrottlerEntry()
60 URLRequestThrottlerManager* manager, in URLRequestThrottlerEntry()
Durl_request_http_job.cc217 throttling_entry_(URLRequestThrottlerManager::GetInstance()-> in URLRequestHttpJob()
318 if (!URLRequestThrottlerManager::GetInstance()->enforce_throttling() || in StartTransaction()
/external/chromium/chrome/common/net/
Durl_fetcher_unittest.cc579 net::URLRequestThrottlerManager* manager =
580 net::URLRequestThrottlerManager::GetInstance();
589 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
602 net::URLRequestThrottlerManager* manager =
603 net::URLRequestThrottlerManager::GetInstance();
612 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
625 net::URLRequestThrottlerManager* manager =
626 net::URLRequestThrottlerManager::GetInstance();
638 net::URLRequestThrottlerManager::GetInstance()->EraseEntryForTests(url);
671 net::URLRequestThrottlerManager* manager =
[all …]
Durl_fetcher.cc331 net::URLRequestThrottlerManager::GetInstance()->RegisterRequestUrl(url_); in OnReadCompleted()
424 net::URLRequestThrottlerManager::GetInstance()->RegisterRequestUrl( in StartURLRequestWhenAppropriate()
/external/chromium/chrome/browser/net/
Dnet_pref_observer.cc24 net::URLRequestThrottlerManager::GetInstance()->set_enforce_throttling( in SetEnforceThrottlingOnThrottlerManager()
/external/chromium/chrome/browser/
Dbrowser_main.cc651 net::URLRequestThrottlerManager::GetInstance()->set_enable_thread_checks( in InitializeNetworkOptions()