Home | History | Annotate | Download | only in loader

Lines Matching refs:mime_type

41                           const std::string& mime_type) {
60 nosniff_empty_mime_type->AddBoolean(mime_type.empty());
128 if (response_->head.mime_type.empty()) {
132 response_->head.mime_type.assign("text/plain");
136 if (response_->head.mime_type == "application/rss+xml" ||
137 response_->head.mime_type == "application/atom+xml") {
138 response_->head.mime_type.assign("text/plain");
256 const std::string& mime_type = response_->head.mime_type;
265 net::ShouldSniffMimeType(request()->url(), mime_type);
267 RecordSnifferMetrics(sniffing_blocked, we_would_like_to_sniff, mime_type);
283 const std::string& type_hint = response_->head.mime_type;
293 response_->head.mime_type.assign(new_type);
299 DCHECK(!response_->head.mime_type.empty());
302 const std::string& mime_type = response_->head.mime_type;
304 if (net::IsSupportedCertificateMimeType(mime_type)) {
317 if (net::IsSupportedMimeType(mime_type))
449 request()->url(), response_->head.mime_type)) {
466 request()->url(), GURL(), response_->head.mime_type, allow_wildcard,