Home
last modified time | relevance | path

Searched refs:filter_context (Results 1 – 6 of 6) sorted by relevance

/external/chromium/net/base/
Dfilter_unittest.cc40 MockFilterContext filter_context; in TEST() local
41 filter_context.SetSdchResponse(false); in TEST()
52 filter_context.SetMimeType(kGzipMime1); in TEST()
53 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()
58 filter_context.SetMimeType(kGzipMime2); in TEST()
59 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()
64 filter_context.SetMimeType(kGzipMime3); in TEST()
65 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()
71 filter_context.SetMimeType(kGzipMime1); in TEST()
72 Filter::FixupEncodingTypes(filter_context, &encoding_types); in TEST()
[all …]
Dsdch_filter_unittest.cc162 MockFilterContext filter_context; in TEST_F() local
164 filter_context.SetURL(GURL(url_string)); in TEST_F()
165 scoped_ptr<Filter> filter(Filter::Factory(filter_types, filter_context)); in TEST_F()
182 MockFilterContext filter_context; in TEST_F() local
184 filter_context.SetResponseCode(200); in TEST_F()
186 filter_context.SetURL(GURL(url_string)); in TEST_F()
187 scoped_ptr<Filter> filter(Filter::Factory(filter_types, filter_context)); in TEST_F()
220 MockFilterContext filter_context; in TEST_F() local
222 filter_context.SetResponseCode(403); in TEST_F()
224 filter_context.SetMimeType("text/html"); in TEST_F()
[all …]
Dfilter.cc51 const FilterContext& filter_context) { in Factory() argument
57 filter_list = PrependNewFilter(filter_types[i], filter_context, in Factory()
72 const FilterContext& filter_context, in FactoryForTests() argument
79 filter_list = PrependNewFilter(filter_types[i], filter_context, in FactoryForTests()
161 const FilterContext& filter_context, in FixupEncodingTypes() argument
164 bool success = filter_context.GetMimeType(&mime_type); in FixupEncodingTypes()
179 success = filter_context.GetURL(&url); in FixupEncodingTypes()
184 if (filter_context.IsDownload()) { in FixupEncodingTypes()
209 if (!filter_context.IsSdchResponse()) { in FixupEncodingTypes()
358 const FilterContext& filter_context, in InitSdchFilter() argument
[all …]
Dfilter.h149 const FilterContext& filter_context);
196 static void FixupEncodingTypes(const FilterContext& filter_context,
245 const FilterContext& filter_context,
253 const FilterContext& filter_context,
262 const FilterContext& filter_context,
Dsdch_filter.cc20 SdchFilter::SdchFilter(const FilterContext& filter_context) in SdchFilter() argument
21 : filter_context_(filter_context), in SdchFilter()
32 bool success = filter_context.GetMimeType(&mime_type_); in SdchFilter()
34 success = filter_context.GetURL(&url_); in SdchFilter()
Dsdch_filter.h57 explicit SdchFilter(const FilterContext& filter_context);