Searched refs:encoding_types (Results 1 – 7 of 7) sorted by relevance
46 std::vector<Filter::FilterType> encoding_types; in TEST() local49 encoding_types.clear(); in TEST()50 encoding_types.push_back(Filter::FILTER_TYPE_GZIP); in TEST()52 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()53 EXPECT_TRUE(encoding_types.empty()); in TEST()55 encoding_types.clear(); in TEST()56 encoding_types.push_back(Filter::FILTER_TYPE_GZIP); in TEST()58 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()59 EXPECT_TRUE(encoding_types.empty()); in TEST()61 encoding_types.clear(); in TEST()[all …]
78 std::vector<FilterType>* encoding_types) { in FixupEncodingTypes() argument83 if ((1 == encoding_types->size()) && in FixupEncodingTypes()84 (FILTER_TYPE_GZIP == encoding_types->front())) { in FixupEncodingTypes()92 encoding_types->clear(); in FixupEncodingTypes()111 encoding_types->clear(); in FixupEncodingTypes()120 encoding_types->clear(); in FixupEncodingTypes()127 if (1 < encoding_types->size()) { in FixupEncodingTypes()132 if ((1 == encoding_types->size()) && in FixupEncodingTypes()133 (FILTER_TYPE_SDCH == encoding_types->front())) { in FixupEncodingTypes()146 if (!encoding_types->empty() && in FixupEncodingTypes()[all …]
198 std::vector<FilterType>* encoding_types);
176 std::vector<Filter::FilterType>* encoding_types) { in GetContentEncodings() argument177 DCHECK(encoding_types->empty()); in GetContentEncodings()181 encoding_types->push_back(Filter::FILTER_TYPE_GZIP); in GetContentEncodings()183 return !encoding_types->empty(); in GetContentEncodings()
225 std::vector<Filter::FilterType>* encoding_types) { in GetContentEncodings() argument229 DCHECK(encoding_types->empty()); in GetContentEncodings()235 encoding_types->push_back(Filter::ConvertEncodingToType(encoding_type)); in GetContentEncodings()242 Filter::FixupEncodingTypes(*this, encoding_types); in GetContentEncodings()244 return !encoding_types->empty(); in GetContentEncodings()
68 std::vector<Filter::FilterType> encoding_types; in SetupFilter() local69 if (GetContentEncodings(&encoding_types)) { in SetupFilter()70 filter_.reset(Filter::Factory(encoding_types, *this)); in SetupFilter()
128 std::vector<Filter::FilterType>* encoding_types) { in GetContentEncodings() argument