Searched refs:encoding_types (Results 1 – 4 of 4) sorted by relevance
47 std::vector<Filter::FilterType> encoding_types; in TEST() local50 encoding_types.clear(); in TEST()51 encoding_types.push_back(Filter::FILTER_TYPE_GZIP); in TEST()53 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()54 EXPECT_TRUE(encoding_types.empty()); in TEST()56 encoding_types.clear(); in TEST()57 encoding_types.push_back(Filter::FILTER_TYPE_GZIP); in TEST()59 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()60 EXPECT_TRUE(encoding_types.empty()); in TEST()62 encoding_types.clear(); in TEST()[all …]
162 std::vector<FilterType>* encoding_types) { in FixupEncodingTypes() argument167 if ((1 == encoding_types->size()) && in FixupEncodingTypes()168 (FILTER_TYPE_GZIP == encoding_types->front())) { in FixupEncodingTypes()176 encoding_types->clear(); in FixupEncodingTypes()195 encoding_types->clear(); in FixupEncodingTypes()204 encoding_types->clear(); in FixupEncodingTypes()211 if (1 < encoding_types->size()) { in FixupEncodingTypes()216 if ((1 == encoding_types->size()) && in FixupEncodingTypes()217 (FILTER_TYPE_SDCH == encoding_types->front())) { in FixupEncodingTypes()230 if (!encoding_types->empty() && in FixupEncodingTypes()[all …]
197 std::vector<FilterType>* encoding_types);
871 std::vector<Filter::FilterType> encoding_types; in SetupFilter() local876 encoding_types.push_back(Filter::ConvertEncodingToType(encoding_type)); in SetupFilter()883 Filter::FixupEncodingTypes(*filter_context_, &encoding_types); in SetupFilter()885 return !encoding_types.empty() in SetupFilter()886 ? Filter::Factory(encoding_types, *filter_context_) : NULL; in SetupFilter()