Home | History | Annotate | Download | only in base

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