Searched refs:type_hint (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/net/base/
H A Dmime_sniffer.cc521 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...]
H A Dmime_sniffer.h37 // @param type_hint The current mime type, e.g. from the Content-Type header.
41 const GURL& url, const std::string& type_hint,
H A Dmime_sniffer_unittest.cc16 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/
H A Dbuffered_resource_handler.cc286 const std::string& type_hint = response_->head.mime_type; local
291 type_hint, &new_type);

Completed in 253 milliseconds