Lines Matching refs:type_id
140 FilterType type_id;
142 type_id = FILTER_TYPE_DEFLATE;
145 type_id = FILTER_TYPE_GZIP;
147 type_id = FILTER_TYPE_SDCH;
151 type_id = FILTER_TYPE_UNSUPPORTED;
153 return type_id;
348 Filter* Filter::InitGZipFilter(FilterType type_id, int buffer_size) {
351 return gz_filter->InitDecoding(type_id) ? gz_filter.release() : NULL;
355 Filter* Filter::InitSdchFilter(FilterType type_id,
360 return sdch_filter->InitDecoding(type_id) ? sdch_filter.release() : NULL;
364 Filter* Filter::PrependNewFilter(FilterType type_id,
369 switch (type_id) {
373 first_filter.reset(InitGZipFilter(type_id, buffer_size));
380 InitSdchFilter(type_id, filter_context, buffer_size));