Home
last modified time | relevance | path

Searched refs:sdch_manager (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/net/base/
Dsdch_manager_unittest.cc38 SdchManager* sdch_manager() { return sdch_manager_.get(); } in sdch_manager() function in net::SdchManagerTest
82 EXPECT_FALSE(sdch_manager()->IsInSupportedDomain(google_url)); in TEST_F()
84 EXPECT_TRUE(sdch_manager()->IsInSupportedDomain(google_url)); in TEST_F()
91 sdch_manager()->BlacklistDomain(test_url, SdchManager::MIN_PROBLEM_CODE); in TEST_F()
92 EXPECT_FALSE(sdch_manager()->IsInSupportedDomain(test_url)); in TEST_F()
93 EXPECT_TRUE(sdch_manager()->IsInSupportedDomain(google_url)); in TEST_F()
95 sdch_manager()->BlacklistDomain(google_url, SdchManager::MIN_PROBLEM_CODE); in TEST_F()
96 EXPECT_FALSE(sdch_manager()->IsInSupportedDomain(google_url)); in TEST_F()
103 EXPECT_TRUE(sdch_manager()->IsInSupportedDomain(test_url)); in TEST_F()
104 EXPECT_TRUE(sdch_manager()->IsInSupportedDomain(test2_url)); in TEST_F()
[all …]
/external/chromium_org/net/filter/
Dsdch_filter.cc71 DCHECK(url_request_context_->sdch_manager()); in SdchFilter()
91 url_request_context_->sdch_manager()->BlacklistDomain( in ~SdchFilter()
129 url_request_context_->sdch_manager()->SetAllowLatencyExperiment( in ~SdchFilter()
262 url_request_context_->sdch_manager()->BlacklistDomain( in ReadFilteredData()
289 url_request_context_->sdch_manager()->BlacklistDomainForever( in ReadFilteredData()
304 url_request_context_->sdch_manager()->BlacklistDomain( in ReadFilteredData()
398 SdchManager* manager(url_request_context_->sdch_manager()); in InitializeDictionary()
Dfilter.cc377 if (filter_context.GetURLRequestContext()->sdch_manager() && in PrependNewFilter()
/external/chromium_org/net/url_request/
Durl_request_context_storage.cc129 scoped_ptr<SdchManager> sdch_manager) { in set_sdch_manager() argument
130 context_->set_sdch_manager(sdch_manager.get()); in set_sdch_manager()
131 sdch_manager_ = sdch_manager.Pass(); in set_sdch_manager()
Durl_request_context.h188 SdchManager* sdch_manager() const { in NON_EXPORTED_BASE()
191 void set_sdch_manager(SdchManager* sdch_manager) { in NON_EXPORTED_BASE()
192 sdch_manager_ = sdch_manager; in NON_EXPORTED_BASE()
Durl_request_http_job.cc322 SdchManager* sdch_manager(request()->context()->sdch_manager()); in NotifyHeadersComplete() local
323 if (sdch_manager && sdch_manager->IsInSupportedDomain(request_->url())) { in NotifyHeadersComplete()
337 sdch_manager->FetchDictionary(request_->url(), sdch_dictionary_url); in NotifyHeadersComplete()
474 SdchManager* sdch_manager = request()->context()->sdch_manager(); in AddExtraHeaders() local
485 bool advertise_sdch = sdch_manager && in AddExtraHeaders()
491 sdch_manager->IsInSupportedDomain(request_->url()); in AddExtraHeaders()
494 sdch_manager->GetAvailDictionaryList(request_->url(), in AddExtraHeaders()
502 sdch_manager->AllowLatencyExperiment(request_->url())) { in AddExtraHeaders()
Durl_request_context_storage.h71 void set_sdch_manager(scoped_ptr<SdchManager> sdch_manager);
Durl_request_test_util.h76 void SetSdchManager(scoped_ptr<SdchManager> sdch_manager) { in SetSdchManager() argument
77 context_storage_.set_sdch_manager(sdch_manager.Pass()); in SetSdchManager()
/external/chromium_org/chrome/browser/net/
Dsdch_browsertest.cc506 net::SdchManager* sdch_manager = in NukeSdchDictionariesOnIOThread() local
507 context_getter->GetURLRequestContext()->sdch_manager(); in NukeSdchDictionariesOnIOThread()
508 DCHECK(sdch_manager); in NukeSdchDictionariesOnIOThread()
509 sdch_manager->ClearData(); in NukeSdchDictionariesOnIOThread()
516 net::SdchManager* sdch_manager = in GetNumberOfDictionaryFetchesOnIOThread() local
517 url_request_context_getter->GetURLRequestContext()->sdch_manager(); in GetNumberOfDictionaryFetchesOnIOThread()
518 DCHECK(sdch_manager); in GetNumberOfDictionaryFetchesOnIOThread()
519 *result = sdch_manager->GetFetchesCountForTesting(); in GetNumberOfDictionaryFetchesOnIOThread()
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_remover.cc970 net::SdchManager* sdch_manager = in DoClearCache() local
971 getter->GetURLRequestContext()->sdch_manager(); in DoClearCache()
975 if (sdch_manager) in DoClearCache()
976 sdch_manager->ClearData(); in DoClearCache()
/external/chromium_org/net/
Dnet.target.linux-arm64.mk135 net/base/sdch_manager.cc \
Dnet.target.darwin-arm64.mk135 net/base/sdch_manager.cc \
Dnet.target.linux-x86.mk135 net/base/sdch_manager.cc \
Dnet.target.darwin-mips.mk135 net/base/sdch_manager.cc \
Dnet.target.darwin-x86.mk135 net/base/sdch_manager.cc \
Dnet.target.linux-mips.mk135 net/base/sdch_manager.cc \
Dnet.target.linux-arm.mk135 net/base/sdch_manager.cc \
Dnet.target.darwin-x86_64.mk135 net/base/sdch_manager.cc \
Dnet.target.darwin-arm.mk135 net/base/sdch_manager.cc \
Dnet.target.linux-mips64.mk135 net/base/sdch_manager.cc \
Dnet.target.darwin-mips64.mk135 net/base/sdch_manager.cc \
Dnet.target.linux-x86_64.mk135 net/base/sdch_manager.cc \
Dnet.gypi269 'base/sdch_manager.cc',
270 'base/sdch_manager.h',