Home | History | Annotate | Download | only in base

Lines Matching refs:SdchManager

24 const size_t SdchManager::kMaxDictionaryCount = 1;
25 const size_t SdchManager::kMaxDictionarySize = 150 * 1000;
28 const size_t SdchManager::kMaxDictionaryCount = 20;
29 const size_t SdchManager::kMaxDictionarySize = 1000 * 1000;
33 bool SdchManager::g_sdch_enabled_ = true;
36 bool SdchManager::g_secure_scheme_supported_ = false;
39 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text,
56 SdchManager::Dictionary::~Dictionary() {
59 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) {
80 if (!SdchManager::secure_scheme_supported() && target_url.SchemeIsSecure())
93 bool SdchManager::Dictionary::CanSet(const std::string& domain,
152 bool SdchManager::Dictionary::CanUse(const GURL& referring_url) {
176 if (!SdchManager::secure_scheme_supported() &&
196 bool SdchManager::Dictionary::PathMatch(const std::string& path,
214 bool SdchManager::Dictionary::DomainMatch(const GURL& gurl,
221 SdchManager::SdchManager() {
225 SdchManager::~SdchManager() {
233 void SdchManager::ClearData() {
248 void SdchManager::SdchErrorRecovery(ProblemCodes problem) {
252 void SdchManager::set_sdch_fetcher(SdchFetcher* fetcher) {
258 void SdchManager::EnableSdchSupport(bool enabled) {
263 void SdchManager::EnableSecureSchemeSupport(bool enabled) {
267 void SdchManager::BlacklistDomain(const GURL& url) {
284 void SdchManager::BlacklistDomainForever(const GURL& url) {
292 void SdchManager::ClearBlacklistings() {
297 void SdchManager::ClearDomainBlacklisting(const std::string& domain) {
301 int SdchManager::BlackListDomainCount(const std::string& domain) {
307 int SdchManager::BlacklistDomainExponential(const std::string& domain) {
314 bool SdchManager::IsInSupportedDomain(const GURL& url) {
339 void SdchManager::FetchDictionary(const GURL& request_url,
346 bool SdchManager::CanFetchDictionary(const GURL& referring_url,
381 bool SdchManager::AddSdchDictionary(const std::string& dictionary_text,
482 void SdchManager::GetVcdiffDictionary(
503 void SdchManager::GetAvailDictionaryList(const GURL& target_url,
524 void SdchManager::GenerateHash(const std::string& dictionary_text,
541 bool SdchManager::AllowLatencyExperiment(const GURL& url) const {
547 void SdchManager::SetAllowLatencyExperiment(const GURL& url, bool enable) {
561 void SdchManager::UrlSafeBase64Encode(const std::string& input,