Home | History | Annotate | Download | only in base

Lines Matching refs:Filter

5 #include "net/base/filter.h"
16 // Filter types (using canonical lower case only):
47 Filter::~Filter() {}
50 Filter* Filter::Factory(const std::vector<FilterType>& filter_types,
55 Filter* filter_list = NULL; // Linked list of filters.
66 Filter* Filter::GZipFactory() {
71 Filter* Filter::FactoryForTests(const std::vector<FilterType>& filter_types,
77 Filter* filter_list = NULL; // Linked list of filters.
87 Filter::FilterStatus Filter::ReadData(char* dest_buffer, int* dest_len) {
107 // In the case where this filter has data internally, and is indicating such
108 // with a last_status_ of FILTER_OK, but at the same time the next filter in
113 // alternately call our filter element, and the next_filter element until we
114 // get out of this state (by pumping data into the next filter until it
125 bool Filter::FlushStreamBuffer(int stream_data_len) {
141 Filter::FilterType Filter::ConvertEncodingToType(
153 // filter should be disabled in such cases.
160 void Filter::FixupEncodingTypes(
236 // no-op pass through filter if it doesn't get gzip headers where expected.
319 Filter::Filter()
328 Filter::FilterStatus Filter::CopyOut(char* dest_buffer, int* dest_len) {
334 return Filter::FILTER_NEED_MORE_DATA;
342 return Filter::FILTER_NEED_MORE_DATA;
345 return Filter::FILTER_OK;
350 Filter* Filter::InitGZipFilter(FilterType type_id, int buffer_size) {
357 Filter* Filter::InitSdchFilter(FilterType type_id,
366 Filter* Filter::PrependNewFilter(FilterType type_id,
369 Filter* filter_list) {
370 scoped_ptr<Filter> first_filter; // Soon to be start of chain.
392 void Filter::InitBuffer(int buffer_size) {
399 void Filter::PushDataIntoNextFilter() {