HomeSort by relevance Sort by last modified time
    Searched refs:type_hint (Results 1 - 7 of 7) sorted by null

  /external/chromium/net/base/
mime_sniffer.h 35 // @param type_hint The current mime type, e.g. from the Content-Type header.
39 const GURL& url, const std::string& type_hint,
mime_sniffer_unittest.cc 16 std::string type_hint; member in struct:net::SnifferTest
27 tests[i].type_hint,
46 std::string type_hint; local
54 SniffMimeType(buf, 0, url, type_hint, &mime_type);
56 SniffMimeType(buf, 1, url, type_hint, &mime_type);
58 SniffMimeType(buf, 2, url, type_hint, &mime_type);
mime_sniffer.cc 524 const std::string& type_hint,
616 const GURL& url, const std::string& type_hint,
628 result->assign(type_hint);
630 // Cache information about the type_hint
631 const bool hint_is_unknown_mime_type = IsUnknownMimeType(type_hint);
648 const bool hint_is_text_plain = (type_hint == "text/plain");
660 if (type_hint == "text/xml" || type_hint == "application/xml") {
671 if (SniffCRX(content, content_size, url, type_hint,
675 // We're not interested in sniffing for magic numbers when the type_hint
    [all...]
  /external/chromium_org/net/base/
mime_sniffer.cc 521 static bool IsOfficeType(const std::string& type_hint) {
522 return (type_hint == "application/msword" ||
523 type_hint == "application/vnd.ms-excel" ||
524 type_hint == "application/vnd.ms-powerpoint" ||
525 type_hint == "application/vnd.openxmlformats-officedocument."
527 type_hint == "application/vnd.openxmlformats-officedocument."
529 type_hint == "application/vnd.openxmlformats-officedocument."
531 type_hint == "application/vnd.ms-excel.sheet.macroenabled.12" ||
532 type_hint == "application/vnd.ms-word.document.macroenabled.12" ||
533 type_hint == "application/vnd.ms-powerpoint.presentation.
    [all...]
mime_sniffer.h 37 // @param type_hint The current mime type, e.g. from the Content-Type header.
41 const GURL& url, const std::string& type_hint,
mime_sniffer_unittest.cc 16 std::string type_hint; member in struct:net::SnifferTest
27 tests[i].type_hint,
46 std::string type_hint; local
54 SniffMimeType(buf, 0, url, type_hint, &mime_type);
56 SniffMimeType(buf, 1, url, type_hint, &mime_type);
58 SniffMimeType(buf, 2, url, type_hint, &mime_type);
  /external/chromium_org/content/browser/loader/
buffered_resource_handler.cc 286 const std::string& type_hint = response_->head.mime_type; local
291 type_hint, &new_type);

Completed in 117 milliseconds