Lines Matching defs:filter_context
17 SdchFilter::SdchFilter(const FilterContext& filter_context)
18 : Filter(filter_context),
29 bool success = filter_context.GetMimeType(&mime_type_);
31 success = filter_context.GetURL(&url_);
54 static_cast<int>(filter_context().GetByteReadCount()));
64 static_cast<int>(filter_context().GetByteReadCount()));
71 if (filter_context().IsCachedContent()) {
83 (filter_context().GetByteReadCount() * 100) / output_bytes_));
86 filter_context().RecordPacketStats(FilterContext::SDCH_DECODE);
93 filter_context().RecordPacketStats(FilterContext::SDCH_PASSTHROUGH);
163 if (filter_context().GetResponseCode() == 404) {
169 } else if (filter_context().GetResponseCode() != 200) {
171 } else if (filter_context().IsCachedContent()
196 } else if (filter_context().IsSdchResponse()) {
221 if (filter_context().IsCachedContent())
231 if (filter_context().IsCachedContent()) {