SniffMimeType 470 chrome/browser/chromeos/drive/file_cache.cc } else if (net::SniffMimeType(&content[0], read_result, SniffMimeType 798 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc base::Bind(&MediaGalleriesGetMetadataFunction::SniffMimeType, this, SniffMimeType 253 chrome/browser/extensions/api/media_galleries/media_galleries_api.h void SniffMimeType(bool mime_type_only, SniffMimeType 211 chrome/common/extensions/extension_unittest.cc EXPECT_TRUE(net::SniffMimeType(data.c_str(), SniffMimeType 222 chrome/common/extensions/extension_unittest.cc EXPECT_TRUE(net::SniffMimeType(data.c_str(), SniffMimeType 291 content/browser/loader/buffered_resource_handler.cc net::SniffMimeType(read_buffer_->data(), bytes_read_, request()->url(), SniffMimeType 40 net/base/mime_sniffer.h NET_EXPORT bool SniffMimeType(const char* content, size_t content_size, SniffMimeType 24 net/base/mime_sniffer_unittest.cc SniffMimeType(tests[i].content, SniffMimeType 39 net/base/mime_sniffer_unittest.cc SniffMimeType(content.data(), content.size(), GURL(url), SniffMimeType 54 net/base/mime_sniffer_unittest.cc SniffMimeType(buf, 0, url, type_hint, &mime_type); SniffMimeType 56 net/base/mime_sniffer_unittest.cc SniffMimeType(buf, 1, url, type_hint, &mime_type); SniffMimeType 58 net/base/mime_sniffer_unittest.cc SniffMimeType(buf, 2, url, type_hint, &mime_type); SniffMimeType 307 net/base/mime_sniffer_unittest.cc SniffMimeType("<?xml?><feed", std::string(), "text/xml")); SniffMimeType 310 net/base/mime_sniffer_unittest.cc SniffMimeType("<?xml?><feed", std::string(), "text/plain")); SniffMimeType 313 net/base/mime_sniffer_unittest.cc SniffMimeType( SniffMimeType 327 net/base/mime_sniffer_unittest.cc SniffMimeType(kCNNRSS, std::string(), "text/xml")); SniffMimeType 328 net/base/mime_sniffer_unittest.cc EXPECT_EQ("text/plain", SniffMimeType(kCNNRSS, std::string(), "text/plain")); SniffMimeType 332 net/base/mime_sniffer_unittest.cc SniffMimeType("<?xml?><notafeed", std::string(), "text/xml")); SniffMimeType 335 net/base/mime_sniffer_unittest.cc SniffMimeType("<?xml?><notafeed", std::string(), "text/plain")); SniffMimeType 339 net/base/mime_sniffer_unittest.cc SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">", SniffMimeType 343 net/base/mime_sniffer_unittest.cc SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">", SniffMimeType 349 net/base/mime_sniffer_unittest.cc SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">", SniffMimeType 353 net/base/mime_sniffer_unittest.cc SniffMimeType("<html xmlns=\"http://www.w3.org/1999/xhtml\">", SniffMimeType 359 net/base/mime_sniffer_unittest.cc SniffMimeType("<html><head>", std::string(), "text/xml")); SniffMimeType 361 net/base/mime_sniffer_unittest.cc SniffMimeType("<foo><html xmlns=\"http://www.w3.org/1999/xhtml\">", SniffMimeType 376 net/base/mime_sniffer_unittest.cc EXPECT_TRUE(SniffMimeType(content.data(), content.size(), GURL(), SniffMimeType 392 net/base/mime_sniffer_unittest.cc EXPECT_TRUE(SniffMimeType(content.data(), content.size(), GURL(),