Searched defs:type_hint (Results 1 - 5 of 5) sorted by relevance
/external/chromium/net/base/ |
H A D | 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);
|
H A D | 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 521 SniffCRX(const char* content, size_t size, const GURL& url, const std::string& type_hint, bool* have_enough_content, std::string* result) argument 615 SniffMimeType(const char* content, size_t content_size, const GURL& url, const std::string& type_hint, std::string* result) argument [all...] |
/external/chromium_org/net/base/ |
H A D | 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);
|
H A D | mime_sniffer.cc | 521 static bool IsOfficeType(const std::string& type_hint) { argument 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 756 SniffCRX(const char* content, size_t size, const GURL& url, const std::string& type_hint, bool* have_enough_content, std::string* result) argument 869 SniffMimeType(const char* content, size_t content_size, const GURL& url, const std::string& type_hint, std::string* result) argument [all...] |
/external/chromium_org/content/browser/loader/ |
H A D | buffered_resource_handler.cc | 287 const std::string& type_hint = response_->head.mime_type; local 292 type_hint, &new_type);
|
Completed in 350 milliseconds