Home
last modified time | relevance | path

Searched refs:encoding_types (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/filter/
Dfilter_unittest.cc47 std::vector<Filter::FilterType> encoding_types; in TEST() local
50 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 …]
Dfilter.cc159 std::vector<FilterType>* encoding_types) { in FixupEncodingTypes() argument
164 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 …]
Dfilter.h205 std::vector<FilterType>* encoding_types);
/external/chromium_org/net/url_request/
Durl_request_http_job.cc1014 std::vector<Filter::FilterType> encoding_types; in SetupFilter() local
1019 encoding_types.push_back(Filter::ConvertEncodingToType(encoding_type)); in SetupFilter()
1043 Filter::FixupEncodingTypes(*filter_context_, &encoding_types); in SetupFilter()
1045 return !encoding_types.empty() in SetupFilter()
1046 ? Filter::Factory(encoding_types, *filter_context_) : NULL; in SetupFilter()