/external/chromium_org/net/base/ |
D | sdch_filter.cc | 49 SdchManager::SdchErrorRecovery(SdchManager::INCOMPLETE_SDCH_CONTENT); in ~SdchFilter() 53 SdchManager::BlacklistDomain(url_); in ~SdchFilter() 63 SdchManager::SdchErrorRecovery(SdchManager::UNFLUSHED_CONTENT); in ~SdchFilter() 75 SdchManager::SdchErrorRecovery(SdchManager::CACHE_DECODED); in ~SdchFilter() 90 SdchManager::Global()->SetAllowLatencyExperiment(url_, true); in ~SdchFilter() 98 SdchManager::SdchErrorRecovery(SdchManager::UNINITIALIZED); in ~SdchFilter() 102 SdchManager::SdchErrorRecovery(SdchManager::PRIOR_TO_DICTIONARY); in ~SdchFilter() 106 SdchManager::SdchErrorRecovery(SdchManager::DECODE_ERROR); in ~SdchFilter() 172 SdchManager::SdchErrorRecovery(SdchManager::PASS_THROUGH_404_CODE); in ReadFilteredData() 180 SdchManager::SdchErrorRecovery(SdchManager::PASS_THROUGH_OLD_CACHED); in ReadFilteredData() [all …]
|
D | sdch_manager.cc | 20 const size_t SdchManager::kMaxDictionarySize = 1000000; 23 const size_t SdchManager::kMaxDictionaryCount = 20; 26 SdchManager* SdchManager::global_ = NULL; 29 bool SdchManager::g_sdch_enabled_ = true; 32 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, in Dictionary() 49 SdchManager::Dictionary::~Dictionary() { in ~Dictionary() 52 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { in CanAdvertise() 53 if (!SdchManager::Global()->IsInSupportedDomain(target_url)) in CanAdvertise() 84 bool SdchManager::Dictionary::CanSet(const std::string& domain, in CanSet() 88 if (!SdchManager::Global()->IsInSupportedDomain(dictionary_url)) in CanSet() [all …]
|
D | filter.cc | 208 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 209 SdchManager::MULTIENCODING_FOR_NON_SDCH_REQUEST); in FixupEncodingTypes() 213 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 214 SdchManager::SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST); in FixupEncodingTypes() 234 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 235 SdchManager::OPTIONAL_GUNZIP_ENCODING_ADDED); in FixupEncodingTypes() 269 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 270 SdchManager::ADDED_CONTENT_ENCODING); in FixupEncodingTypes() 272 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 273 SdchManager::FIXED_CONTENT_ENCODING); in FixupEncodingTypes() [all …]
|
D | sdch_filter_unittest.cc | 58 sdch_manager_(new SdchManager) { in SdchFilterTest() 67 scoped_ptr<SdchManager> sdch_manager_; // A singleton database. 74 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in NewSdchCompressedData() 89 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in TEST_F() 376 EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); in TEST_F() 377 SdchManager::ClearBlacklistings(); in TEST_F() 378 EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); in TEST_F() 636 EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); in TEST_F() 637 EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(wrong_domain_url)); in TEST_F() 638 SdchManager::ClearBlacklistings(); in TEST_F() [all …]
|
D | sdch_manager.h | 58 class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) { in NON_EXPORTED_BASE() 172 friend class SdchManager; // Only manager can construct an instance. in NON_EXPORTED_BASE() local 234 SdchManager(); in NON_EXPORTED_BASE() 235 ~SdchManager(); in NON_EXPORTED_BASE() 241 static SdchManager* Global(); in NON_EXPORTED_BASE() 342 static SdchManager* global_; in NON_EXPORTED_BASE() 367 DISALLOW_COPY_AND_ASSIGN(SdchManager); in NON_EXPORTED_BASE()
|
D | sdch_filter.h | 96 scoped_refptr<SdchManager::Dictionary> dictionary_;
|
/external/chromium/net/base/ |
D | sdch_filter.cc | 51 SdchManager::SdchErrorRecovery(SdchManager::INCOMPLETE_SDCH_CONTENT); in ~SdchFilter() 55 SdchManager::BlacklistDomain(url_); in ~SdchFilter() 65 SdchManager::SdchErrorRecovery(SdchManager::UNFLUSHED_CONTENT); in ~SdchFilter() 77 SdchManager::SdchErrorRecovery(SdchManager::CACHE_DECODED); in ~SdchFilter() 92 SdchManager::Global()->SetAllowLatencyExperiment(url_, true); in ~SdchFilter() 100 SdchManager::SdchErrorRecovery(SdchManager::UNINITIALIZED); in ~SdchFilter() 104 SdchManager::SdchErrorRecovery(SdchManager::PRIOR_TO_DICTIONARY); in ~SdchFilter() 108 SdchManager::SdchErrorRecovery(SdchManager::DECODE_ERROR); in ~SdchFilter() 174 SdchManager::SdchErrorRecovery(SdchManager::PASS_THROUGH_404_CODE); in ReadFilteredData() 182 SdchManager::SdchErrorRecovery(SdchManager::PASS_THROUGH_OLD_CACHED); in ReadFilteredData() [all …]
|
D | sdch_manager.cc | 20 const size_t SdchManager::kMaxDictionarySize = 1000000; 23 const size_t SdchManager::kMaxDictionaryCount = 20; 26 SdchManager* SdchManager::global_; 29 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, in Dictionary() 46 SdchManager::Dictionary::~Dictionary() { in ~Dictionary() 49 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { in CanAdvertise() 50 if (!SdchManager::Global()->IsInSupportedDomain(target_url)) in CanAdvertise() 81 bool SdchManager::Dictionary::CanSet(const std::string& domain, in CanSet() 85 if (!SdchManager::Global()->IsInSupportedDomain(dictionary_url)) in CanSet() 141 bool SdchManager::Dictionary::CanUse(const GURL& referring_url) { in CanUse() [all …]
|
D | filter.cc | 213 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 214 SdchManager::MULTIENCODING_FOR_NON_SDCH_REQUEST); in FixupEncodingTypes() 218 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 219 SdchManager::SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST); in FixupEncodingTypes() 239 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 240 SdchManager::OPTIONAL_GUNZIP_ENCODING_ADDED); in FixupEncodingTypes() 274 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 275 SdchManager::ADDED_CONTENT_ENCODING); in FixupEncodingTypes() 277 SdchManager::SdchErrorRecovery( in FixupEncodingTypes() 278 SdchManager::FIXED_CONTENT_ENCODING); in FixupEncodingTypes() [all …]
|
D | sdch_filter_unittest.cc | 63 sdch_manager_(new SdchManager) { in SdchFilterTest() 73 scoped_ptr<SdchManager> sdch_manager_; // A singleton database. 80 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in NewSdchCompressedData() 95 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in TEST_F() 382 EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); in TEST_F() 383 SdchManager::ClearBlacklistings(); in TEST_F() 384 EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); in TEST_F() 642 EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); in TEST_F() 643 EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(wrong_domain_url)); in TEST_F() 644 SdchManager::ClearBlacklistings(); in TEST_F() [all …]
|
D | sdch_manager.h | 57 class SdchManager { 171 friend class SdchManager; // Only manager can construct an instance. variable 233 SdchManager(); 234 ~SdchManager(); 240 static SdchManager* Global(); 343 static SdchManager* global_; 372 DISALLOW_COPY_AND_ASSIGN(SdchManager);
|
D | sdch_filter.h | 95 scoped_refptr<SdchManager::Dictionary> dictionary_;
|
/external/chromium/chrome/browser/net/ |
D | sdch_dictionary_fetcher.cc | 21 net::SdchManager::Shutdown(); in Shutdown() 29 net::SdchManager::SdchErrorRecovery( in Schedule() 30 net::SdchManager::DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD); in Schedule() 34 net::SdchManager::SdchErrorRecovery( in Schedule() 35 net::SdchManager::DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD); in Schedule() 81 net::SdchManager::Global()->AddSdchDictionary(data, url); in OnURLFetchComplete()
|
/external/chromium_org/chrome/browser/net/ |
D | sdch_dictionary_fetcher.cc | 30 net::SdchManager::Shutdown(); in Shutdown() 40 net::SdchManager::SdchErrorRecovery( in Schedule() 41 net::SdchManager::DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD); in Schedule() 45 net::SdchManager::SdchErrorRecovery( in Schedule() 46 net::SdchManager::DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD); in Schedule() 84 net::SdchManager::Global()->AddSdchDictionary(data, source->GetURL()); in OnURLFetchComplete()
|
/external/chromium/net/url_request/ |
D | url_request_http_job.cc | 254 if (SdchManager::Global() && in NotifyHeadersComplete() 255 SdchManager::Global()->IsInSupportedDomain(request_->url())) { in NotifyHeadersComplete() 346 bool advertise_sdch = SdchManager::Global() && in AddExtraHeaders() 347 SdchManager::Global()->IsInSupportedDomain(request_->url()); in AddExtraHeaders() 350 SdchManager::Global()->GetAvailDictionaryList(request_->url(), in AddExtraHeaders() 358 SdchManager::Global()->AllowLatencyExperiment(request_->url())) { in AddExtraHeaders() 1087 SdchManager* manager = SdchManager::Global(); in ~URLRequestHttpJob()
|
/external/chromium_org/net/url_request/ |
D | url_request_http_job.cc | 300 SdchManager* manager = SdchManager::Global(); in ~URLRequestHttpJob() 392 if (SdchManager::Global() && in NotifyHeadersComplete() 393 SdchManager::Global()->IsInSupportedDomain(request_->url())) { in NotifyHeadersComplete() 547 bool advertise_sdch = SdchManager::Global() && in AddExtraHeaders() 548 SdchManager::Global()->IsInSupportedDomain(request_->url()); in AddExtraHeaders() 551 SdchManager::Global()->GetAvailDictionaryList(request_->url(), in AddExtraHeaders() 559 SdchManager::Global()->AllowLatencyExperiment(request_->url())) { in AddExtraHeaders()
|
/external/chromium_org/chrome/browser/ |
D | io_thread.h | 57 class SdchManager; variable 332 net::SdchManager* sdch_manager_;
|
D | chrome_browser_main.cc | 1420 net::SdchManager::EnableSdchSupport(false); in PreMainMessageLoopRunImpl()
|
D | io_thread.cc | 671 sdch_manager_ = new net::SdchManager(); in InitAsync()
|
/external/chromium/chrome/browser/ |
D | browser_main.cc | 1685 net::SdchManager sdch_manager; // Singleton database. in BrowserMain()
|