Searched defs:SniffMimeType (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/net/base/
H A Dmime_sniffer_unittest.cc24 SniffMimeType(tests[i].content,
33 // TODO(evanm): convert other tests to use SniffMimeType instead of TestArray,
35 static std::string SniffMimeType(const std::string& content, function in namespace:net
39 SniffMimeType(content.data(), content.size(), GURL(url),
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);
307 SniffMimeType("<?xml?><feed", std::string(), "text/xml"));
310 SniffMimeType("<?xml?><feed", std::string(), "text/plain"));
313 SniffMimeType(
[all...]
H A Dmime_sniffer.cc869 bool SniffMimeType(const char* content, function in namespace:net
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
H A Dmime_util.cc28 void SniffMimeType(const base::FilePath& local_path, std::string* result) { function in namespace:extensions::app_file_handler_util::__anon3710
35 net::SniffMimeType(&content[0],
106 base::Bind(&SniffMimeType, local_path, sniffed_mime_type_ptr),

Completed in 332 milliseconds