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 …]
159 std::vector<FilterType>* encoding_types) { in FixupEncodingTypes() argument164 if ((1 == encoding_types->size()) && in FixupEncodingTypes()165 (FILTER_TYPE_GZIP == encoding_types->front())) { in FixupEncodingTypes()173 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 …]
205 std::vector<FilterType>* encoding_types);
1003 std::vector<Filter::FilterType> encoding_types; in SetupFilter() local1008 encoding_types.push_back(Filter::ConvertEncodingToType(encoding_type)); in SetupFilter()1032 Filter::FixupEncodingTypes(*filter_context_, &encoding_types); in SetupFilter()1034 return !encoding_types.empty() in SetupFilter()1035 ? Filter::Factory(encoding_types, *filter_context_) : NULL; in SetupFilter()