Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dfilter_unittest.cc46 std::vector<Filter::FilterType> encoding_types; in TEST() local
49 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 …]
Dfilter.cc78 std::vector<FilterType>* encoding_types) { in FixupEncodingTypes() argument
83 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 …]
Dfilter.h198 std::vector<FilterType>* encoding_types);
/external/chromium/net/url_request/
Durl_request_file_job.cc176 std::vector<Filter::FilterType>* encoding_types) { in GetContentEncodings() argument
177 DCHECK(encoding_types->empty()); in GetContentEncodings()
181 encoding_types->push_back(Filter::FILTER_TYPE_GZIP); in GetContentEncodings()
183 return !encoding_types->empty(); in GetContentEncodings()
Durl_request_http_job.cc225 std::vector<Filter::FilterType>* encoding_types) { in GetContentEncodings() argument
229 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()
Durl_request_job.cc68 std::vector<Filter::FilterType> encoding_types; in SetupFilter() local
69 if (GetContentEncodings(&encoding_types)) { in SetupFilter()
70 filter_.reset(Filter::Factory(encoding_types, *this)); in SetupFilter()
Durl_request_job.h128 std::vector<Filter::FilterType>* encoding_types) { in GetContentEncodings() argument