Lines Matching defs:SdchManager
45 const size_t SdchManager::kMaxDictionaryCount = 1;
46 const size_t SdchManager::kMaxDictionarySize = 500 * 1000;
49 const size_t SdchManager::kMaxDictionaryCount = 20;
50 const size_t SdchManager::kMaxDictionarySize = 1000 * 1000;
56 bool SdchManager::g_sdch_enabled_ = false;
58 bool SdchManager::g_sdch_enabled_ = true;
62 bool SdchManager::g_secure_scheme_supported_ = true;
65 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text,
82 SdchManager::Dictionary::~Dictionary() {
85 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) {
107 if (!SdchManager::secure_scheme_supported() && target_url.SchemeIsSecure())
120 bool SdchManager::Dictionary::CanSet(const std::string& domain,
179 bool SdchManager::Dictionary::CanUse(const GURL& referring_url) {
204 if (!SdchManager::secure_scheme_supported() &&
224 bool SdchManager::Dictionary::PathMatch(const std::string& path,
242 bool SdchManager::Dictionary::DomainMatch(const GURL& gurl,
249 SdchManager::SdchManager()
254 SdchManager::~SdchManager() {
262 void SdchManager::ClearData() {
276 void SdchManager::SdchErrorRecovery(ProblemCodes problem) {
280 void SdchManager::set_sdch_fetcher(scoped_ptr<SdchFetcher> fetcher) {
286 void SdchManager::EnableSdchSupport(bool enabled) {
291 void SdchManager::EnableSecureSchemeSupport(bool enabled) {
295 void SdchManager::BlacklistDomain(const GURL& url,
316 void SdchManager::BlacklistDomainForever(const GURL& url,
327 void SdchManager::ClearBlacklistings() {
331 void SdchManager::ClearDomainBlacklisting(const std::string& domain) {
338 int SdchManager::BlackListDomainCount(const std::string& domain) {
346 int SdchManager::BlacklistDomainExponential(const std::string& domain) {
354 bool SdchManager::IsInSupportedDomain(const GURL& url) {
385 void SdchManager::FetchDictionary(const GURL& request_url,
394 bool SdchManager::CanFetchDictionary(const GURL& referring_url,
429 void SdchManager::GetVcdiffDictionary(
450 void SdchManager::GetAvailDictionaryList(const GURL& target_url,
471 void SdchManager::GenerateHash(const std::string& dictionary_text,
488 bool SdchManager::AllowLatencyExperiment(const GURL& url) const {
494 void SdchManager::SetAllowLatencyExperiment(const GURL& url, bool enable) {
507 void SdchManager::AddSdchDictionary(const std::string& dictionary_text,
614 void SdchManager::UrlSafeBase64Encode(const std::string& input,