Lines Matching refs:SdchManager
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()
142 if (!SdchManager::Global()->IsInSupportedDomain(referring_url)) in CanUse()
180 bool SdchManager::Dictionary::PathMatch(const std::string& path, in PathMatch()
198 bool SdchManager::Dictionary::DomainMatch(const GURL& gurl, in DomainMatch()
205 SdchManager::SdchManager() : sdch_enabled_(false) { in SdchManager() function in net::SdchManager
210 SdchManager::~SdchManager() { in ~SdchManager()
221 void SdchManager::Shutdown() { in Shutdown()
228 SdchManager* SdchManager::Global() { in Global()
233 void SdchManager::SdchErrorRecovery(ProblemCodes problem) { in SdchErrorRecovery()
237 void SdchManager::EnableSdchSupport(const std::string& domain) { in EnableSdchSupport()
244 void SdchManager::BlacklistDomain(const GURL& url) { in BlacklistDomain()
264 void SdchManager::BlacklistDomainForever(const GURL& url) { in BlacklistDomainForever()
275 void SdchManager::ClearBlacklistings() { in ClearBlacklistings()
281 void SdchManager::ClearDomainBlacklisting(const std::string& domain) { in ClearDomainBlacklisting()
286 int SdchManager::BlackListDomainCount(const std::string& domain) { in BlackListDomainCount()
294 int SdchManager::BlacklistDomainExponential(const std::string& domain) { in BlacklistDomainExponential()
301 bool SdchManager::IsInSupportedDomain(const GURL& url) { in IsInSupportedDomain()
325 void SdchManager::FetchDictionary(const GURL& request_url, in FetchDictionary()
327 if (SdchManager::Global()->CanFetchDictionary(request_url, dictionary_url) && in FetchDictionary()
332 bool SdchManager::CanFetchDictionary(const GURL& referring_url, in CanFetchDictionary()
364 bool SdchManager::AddSdchDictionary(const std::string& dictionary_text, in AddSdchDictionary()
462 void SdchManager::GetVcdiffDictionary(const std::string& server_hash, in GetVcdiffDictionary()
478 void SdchManager::GetAvailDictionaryList(const GURL& target_url, in GetAvailDictionaryList()
496 void SdchManager::GenerateHash(const std::string& dictionary_text, in GenerateHash()
513 bool SdchManager::AllowLatencyExperiment(const GURL& url) const { in AllowLatencyExperiment()
518 void SdchManager::SetAllowLatencyExperiment(const GURL& url, bool enable) { in SetAllowLatencyExperiment()
531 void SdchManager::UrlSafeBase64Encode(const std::string& input, in UrlSafeBase64Encode()