HomeSort by relevance Sort by last modified time
    Searched refs:type_hint (Results 1 - 3 of 3) 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...]

Completed in 56 milliseconds