SdchManager 1412 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSecureSchemeSupport(true); SdchManager 1423 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSecureSchemeSupport(true); SdchManager 1424 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSdchSupport(true); SdchManager 1426 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSdchSupport(true); SdchManager 1428 chrome/browser/chrome_browser_main.cc net::SdchManager::EnableSdchSupport(false); SdchManager 706 chrome/browser/io_thread.cc sdch_manager_ = new net::SdchManager(); SdchManager 60 chrome/browser/io_thread.h class SdchManager; SdchManager 358 chrome/browser/io_thread.h net::SdchManager* sdch_manager_; SdchManager 30 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::Shutdown(); SdchManager 40 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::SdchErrorRecovery( SdchManager 41 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD); SdchManager 45 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::SdchErrorRecovery( SdchManager 46 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD); SdchManager 84 chrome/browser/net/sdch_dictionary_fetcher.cc net::SdchManager::Global()->AddSdchDictionary(data, source->GetURL()); SdchManager 20 net/base/sdch_manager.cc const size_t SdchManager::kMaxDictionarySize = 1000000; SdchManager 23 net/base/sdch_manager.cc const size_t SdchManager::kMaxDictionaryCount = 20; SdchManager 26 net/base/sdch_manager.cc SdchManager* SdchManager::global_ = NULL; SdchManager 29 net/base/sdch_manager.cc bool SdchManager::g_sdch_enabled_ = true; SdchManager 32 net/base/sdch_manager.cc bool SdchManager::g_secure_scheme_supported_ = false; SdchManager 35 net/base/sdch_manager.cc SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, SdchManager 52 net/base/sdch_manager.cc SdchManager::Dictionary::~Dictionary() { SdchManager 55 net/base/sdch_manager.cc bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { SdchManager 56 net/base/sdch_manager.cc if (!SdchManager::Global()->IsInSupportedDomain(target_url)) SdchManager 78 net/base/sdch_manager.cc if (!SdchManager::secure_scheme_supported() && target_url.SchemeIsSecure()) SdchManager 91 net/base/sdch_manager.cc bool SdchManager::Dictionary::CanSet(const std::string& domain, SdchManager 95 net/base/sdch_manager.cc if (!SdchManager::Global()->IsInSupportedDomain(dictionary_url)) SdchManager 152 net/base/sdch_manager.cc bool SdchManager::Dictionary::CanUse(const GURL& referring_url) { SdchManager 153 net/base/sdch_manager.cc if (!SdchManager::Global()->IsInSupportedDomain(referring_url)) SdchManager 178 net/base/sdch_manager.cc if (!SdchManager::secure_scheme_supported() && SdchManager 198 net/base/sdch_manager.cc bool SdchManager::Dictionary::PathMatch(const std::string& path, SdchManager 216 net/base/sdch_manager.cc bool SdchManager::Dictionary::DomainMatch(const GURL& gurl, SdchManager 223 net/base/sdch_manager.cc SdchManager::SdchManager() { SdchManager 229 net/base/sdch_manager.cc SdchManager::~SdchManager() { SdchManager 241 net/base/sdch_manager.cc void SdchManager::Shutdown() { SdchManager 249 net/base/sdch_manager.cc SdchManager* SdchManager::Global() { SdchManager 254 net/base/sdch_manager.cc void SdchManager::SdchErrorRecovery(ProblemCodes problem) { SdchManager 258 net/base/sdch_manager.cc void SdchManager::set_sdch_fetcher(SdchFetcher* fetcher) { SdchManager 264 net/base/sdch_manager.cc void SdchManager::EnableSdchSupport(bool enabled) { SdchManager 269 net/base/sdch_manager.cc void SdchManager::EnableSecureSchemeSupport(bool enabled) { SdchManager 274 net/base/sdch_manager.cc void SdchManager::BlacklistDomain(const GURL& url) { SdchManager 294 net/base/sdch_manager.cc void SdchManager::BlacklistDomainForever(const GURL& url) { SdchManager 305 net/base/sdch_manager.cc void SdchManager::ClearBlacklistings() { SdchManager 311 net/base/sdch_manager.cc void SdchManager::ClearDomainBlacklisting(const std::string& domain) { SdchManager 316 net/base/sdch_manager.cc int SdchManager::BlackListDomainCount(const std::string& domain) { SdchManager 324 net/base/sdch_manager.cc int SdchManager::BlacklistDomainExponential(const std::string& domain) { SdchManager 331 net/base/sdch_manager.cc bool SdchManager::IsInSupportedDomain(const GURL& url) { SdchManager 353 net/base/sdch_manager.cc void SdchManager::FetchDictionary(const GURL& request_url, SdchManager 356 net/base/sdch_manager.cc if (SdchManager::Global()->CanFetchDictionary(request_url, dictionary_url) && SdchManager 361 net/base/sdch_manager.cc bool SdchManager::CanFetchDictionary(const GURL& referring_url, SdchManager 396 net/base/sdch_manager.cc bool SdchManager::AddSdchDictionary(const std::string& dictionary_text, SdchManager 495 net/base/sdch_manager.cc void SdchManager::GetVcdiffDictionary(const std::string& server_hash, SdchManager 512 net/base/sdch_manager.cc void SdchManager::GetAvailDictionaryList(const GURL& target_url, SdchManager 531 net/base/sdch_manager.cc void SdchManager::GenerateHash(const std::string& dictionary_text, SdchManager 548 net/base/sdch_manager.cc bool SdchManager::AllowLatencyExperiment(const GURL& url) const { SdchManager 554 net/base/sdch_manager.cc void SdchManager::SetAllowLatencyExperiment(const GURL& url, bool enable) { SdchManager 568 net/base/sdch_manager.cc void SdchManager::UrlSafeBase64Encode(const std::string& input, SdchManager 58 net/base/sdch_manager.h class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) { SdchManager 172 net/base/sdch_manager.h friend class SdchManager; // Only manager can construct an instance. SdchManager 234 net/base/sdch_manager.h SdchManager(); SdchManager 235 net/base/sdch_manager.h ~SdchManager(); SdchManager 241 net/base/sdch_manager.h static SdchManager* Global(); SdchManager 347 net/base/sdch_manager.h static SdchManager* global_; SdchManager 376 net/base/sdch_manager.h DISALLOW_COPY_AND_ASSIGN(SdchManager); SdchManager 27 net/base/sdch_manager_unittest.cc : sdch_manager_(new SdchManager) { SdchManager 30 net/base/sdch_manager_unittest.cc scoped_ptr<SdchManager> sdch_manager_; // A singleton database. SdchManager 49 net/base/sdch_manager_unittest.cc net::SdchManager::EnableSdchSupport(false); SdchManager 50 net/base/sdch_manager_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(google_url)); SdchManager 51 net/base/sdch_manager_unittest.cc net::SdchManager::EnableSdchSupport(true); SdchManager 52 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(google_url)); SdchManager 59 net/base/sdch_manager_unittest.cc SdchManager::BlacklistDomain(test_url); SdchManager 60 net/base/sdch_manager_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(test_url)); SdchManager 61 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(google_url)); SdchManager 63 net/base/sdch_manager_unittest.cc SdchManager::BlacklistDomain(google_url); SdchManager 64 net/base/sdch_manager_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(google_url)); SdchManager 71 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(test_url)); SdchManager 72 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(test2_url)); SdchManager 73 net/base/sdch_manager_unittest.cc SdchManager::BlacklistDomain(test_url); SdchManager 74 net/base/sdch_manager_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(test2_url)); SdchManager 81 net/base/sdch_manager_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 82 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlackListDomainCount(domain), 0); SdchManager 83 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlacklistDomainExponential(domain), 0); SdchManager 84 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(gurl)); SdchManager 90 net/base/sdch_manager_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 92 net/base/sdch_manager_unittest.cc SdchManager::Global()->BlacklistDomain(gurl); SdchManager 93 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlackListDomainCount(domain), 1); SdchManager 94 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlacklistDomainExponential(domain), 1); SdchManager 97 net/base/sdch_manager_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(gurl)); SdchManager 98 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlackListDomainCount(domain), 0); SdchManager 99 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(gurl)); SdchManager 105 net/base/sdch_manager_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 109 net/base/sdch_manager_unittest.cc SdchManager::Global()->BlacklistDomain(gurl); SdchManager 110 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlacklistDomainExponential(domain), exponential); SdchManager 112 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlackListDomainCount(domain), exponential); SdchManager 113 net/base/sdch_manager_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(gurl)); SdchManager 114 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlackListDomainCount(domain), exponential - 1); SdchManager 118 net/base/sdch_manager_unittest.cc SdchManager::ClearDomainBlacklisting(domain); SdchManager 119 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::BlackListDomainCount(domain), 0); SdchManager 120 net/base/sdch_manager_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(gurl)); SdchManager 184 net/base/sdch_manager_unittest.cc SdchManager::Dictionary* dictionary = NULL; SdchManager 207 net/base/sdch_manager_unittest.cc SdchManager::Dictionary* dictionary = NULL; SdchManager 273 net/base/sdch_manager_unittest.cc while (count <= SdchManager::kMaxDictionaryCount + 1) { SdchManager 281 net/base/sdch_manager_unittest.cc EXPECT_EQ(SdchManager::kMaxDictionaryCount, count); SdchManager 289 net/base/sdch_manager_unittest.cc SdchManager::kMaxDictionarySize - dictionary_text.size(), ' '); SdchManager 299 net/base/sdch_manager_unittest.cc SdchManager::kMaxDictionarySize + 1 - dictionary_text.size(), ' '); SdchManager 306 net/base/sdch_manager_unittest.cc SdchManager::Dictionary::PathMatch; SdchManager 212 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 213 net/filter/filter.cc SdchManager::MULTIENCODING_FOR_NON_SDCH_REQUEST); SdchManager 217 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 218 net/filter/filter.cc SdchManager::SDCH_CONTENT_ENCODE_FOR_NON_SDCH_REQUEST); SdchManager 238 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 239 net/filter/filter.cc SdchManager::OPTIONAL_GUNZIP_ENCODING_ADDED); SdchManager 273 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 274 net/filter/filter.cc SdchManager::ADDED_CONTENT_ENCODING); SdchManager 276 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 277 net/filter/filter.cc SdchManager::FIXED_CONTENT_ENCODING); SdchManager 279 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 280 net/filter/filter.cc SdchManager::FIXED_CONTENT_ENCODINGS); SdchManager 292 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 293 net/filter/filter.cc SdchManager::BINARY_ADDED_CONTENT_ENCODING); SdchManager 295 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 296 net/filter/filter.cc SdchManager::BINARY_FIXED_CONTENT_ENCODING); SdchManager 298 net/filter/filter.cc SdchManager::SdchErrorRecovery( SdchManager 299 net/filter/filter.cc SdchManager::BINARY_FIXED_CONTENT_ENCODINGS); SdchManager 376 net/filter/filter.cc if (SdchManager::Global() && SdchManager::sdch_enabled()) { SdchManager 50 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::INCOMPLETE_SDCH_CONTENT); SdchManager 54 net/filter/sdch_filter.cc SdchManager::BlacklistDomain(url_); SdchManager 64 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::UNFLUSHED_CONTENT); SdchManager 76 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::CACHE_DECODED); SdchManager 91 net/filter/sdch_filter.cc SdchManager::Global()->SetAllowLatencyExperiment(url_, true); SdchManager 99 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::UNINITIALIZED); SdchManager 103 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::PRIOR_TO_DICTIONARY); SdchManager 107 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::DECODE_ERROR); SdchManager 173 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::PASS_THROUGH_404_CODE); SdchManager 181 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::PASS_THROUGH_OLD_CACHED); SdchManager 191 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::DISCARD_TENTATIVE_SDCH); SdchManager 213 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::PASSING_THROUGH_NON_SDCH); SdchManager 216 net/filter/sdch_filter.cc SdchManager::BlacklistDomain(url_); SdchManager 226 net/filter/sdch_filter.cc SdchManager::BlacklistDomainForever(url_); SdchManager 228 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery( SdchManager 229 net/filter/sdch_filter.cc SdchManager::CACHED_META_REFRESH_UNSUPPORTED); SdchManager 231 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery( SdchManager 232 net/filter/sdch_filter.cc SdchManager::META_REFRESH_UNSUPPORTED); SdchManager 240 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery( SdchManager 241 net/filter/sdch_filter.cc SdchManager::META_REFRESH_CACHED_RECOVERY); SdchManager 245 net/filter/sdch_filter.cc SdchManager::BlacklistDomain(url_); SdchManager 246 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::META_REFRESH_RECOVERY); SdchManager 300 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::DECODE_BODY_ERROR); SdchManager 337 net/filter/sdch_filter.cc SdchManager::Dictionary* dictionary = NULL; SdchManager 339 net/filter/sdch_filter.cc SdchManager::Global()->GetVcdiffDictionary(std::string(dictionary_hash_, 0, SdchManager 356 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::DICTIONARY_HASH_NOT_FOUND); SdchManager 358 net/filter/sdch_filter.cc SdchManager::SdchErrorRecovery(SdchManager::DICTIONARY_HASH_MALFORMED); SdchManager 96 net/filter/sdch_filter.h scoped_refptr<SdchManager::Dictionary> dictionary_; SdchManager 57 net/filter/sdch_filter_unittest.cc sdch_manager_(new SdchManager) { SdchManager 66 net/filter/sdch_filter_unittest.cc scoped_ptr<SdchManager> sdch_manager_; // A singleton database. SdchManager 73 net/filter/sdch_filter_unittest.cc SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); SdchManager 88 net/filter/sdch_filter_unittest.cc SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); SdchManager 375 net/filter/sdch_filter_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 376 net/filter/sdch_filter_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 377 net/filter/sdch_filter_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 635 net/filter/sdch_filter_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 636 net/filter/sdch_filter_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(wrong_domain_url)); SdchManager 637 net/filter/sdch_filter_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 638 net/filter/sdch_filter_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(wrong_domain_url)); SdchManager 686 net/filter/sdch_filter_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 687 net/filter/sdch_filter_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 688 net/filter/sdch_filter_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 749 net/filter/sdch_filter_unittest.cc EXPECT_FALSE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 750 net/filter/sdch_filter_unittest.cc SdchManager::ClearBlacklistings(); SdchManager 751 net/filter/sdch_filter_unittest.cc EXPECT_TRUE(SdchManager::Global()->IsInSupportedDomain(GURL(url_string))); SdchManager 227 net/url_request/url_request_http_job.cc SdchManager* manager = SdchManager::Global(); SdchManager 316 net/url_request/url_request_http_job.cc if (SdchManager::Global() && SdchManager 317 net/url_request/url_request_http_job.cc SdchManager::Global()->IsInSupportedDomain(request_->url())) { SdchManager 475 net/url_request/url_request_http_job.cc bool advertise_sdch = SdchManager::Global() && SdchManager 476 net/url_request/url_request_http_job.cc SdchManager::Global()->IsInSupportedDomain(request_->url()); SdchManager 479 net/url_request/url_request_http_job.cc SdchManager::Global()->GetAvailDictionaryList(request_->url(), SdchManager 487 net/url_request/url_request_http_job.cc SdchManager::Global()->AllowLatencyExperiment(request_->url())) {