Searched refs:URLRequestThrottlerManager (Results 1 – 10 of 10) sorted by relevance
13 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 …]
35 class URLRequestThrottlerManager : public base::NonThreadSafe {37 static URLRequestThrottlerManager* GetInstance();73 URLRequestThrottlerManager();74 ~URLRequestThrottlerManager();95 friend struct DefaultSingletonTraits<URLRequestThrottlerManager>;137 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerManager);
18 class URLRequestThrottlerManager; variable71 explicit URLRequestThrottlerEntry(URLRequestThrottlerManager* manager);76 URLRequestThrottlerEntry(URLRequestThrottlerManager* manager,157 URLRequestThrottlerManager* manager_;
47 net::URLRequestThrottlerManager* manager) in MockURLRequestThrottlerEntry()53 net::URLRequestThrottlerManager* manager, in MockURLRequestThrottlerEntry()160 class MockURLRequestThrottlerManager : public URLRequestThrottlerManager {368 TEST(URLRequestThrottlerManager, IsUrlStandardised) { in TEST() argument400 TEST(URLRequestThrottlerManager, AreEntriesBeingCollected) { in TEST() argument417 TEST(URLRequestThrottlerManager, IsHostBeingRegistered) { in TEST() argument454 TEST(URLRequestThrottlerManager, OptOutHeader) { in TEST() argument
48 URLRequestThrottlerManager* manager) in URLRequestThrottlerEntry()60 URLRequestThrottlerManager* manager, in URLRequestThrottlerEntry()
217 throttling_entry_(URLRequestThrottlerManager::GetInstance()-> in URLRequestHttpJob()318 if (!URLRequestThrottlerManager::GetInstance()->enforce_throttling() || in StartTransaction()
579 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 …]
331 net::URLRequestThrottlerManager::GetInstance()->RegisterRequestUrl(url_); in OnReadCompleted()424 net::URLRequestThrottlerManager::GetInstance()->RegisterRequestUrl( in StartURLRequestWhenAppropriate()
24 net::URLRequestThrottlerManager::GetInstance()->set_enforce_throttling( in SetEnforceThrottlingOnThrottlerManager()
651 net::URLRequestThrottlerManager::GetInstance()->set_enable_thread_checks( in InitializeNetworkOptions()