HomeSort by relevance Sort by last modified time
    Searched refs:SniffMimeType (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/net/base/
mime_sniffer_unittest.cc 24 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,
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...]
mime_sniffer.h 18 // |SniffMimeType|.
40 NET_EXPORT bool SniffMimeType(const char* content, size_t content_size,
45 // Uses a bigger set of media file searches than |SniffMimeType()|.
mime_sniffer.cc     [all...]
  /external/chromium_org/chrome/browser/extensions/api/file_handlers/
mime_util.cc 28 void SniffMimeType(const base::FilePath& local_path, std::string* result) {
35 net::SniffMimeType(&content[0],
106 base::Bind(&SniffMimeType, local_path, sniffed_mime_type_ptr),
  /external/chromium_org/chrome/common/extensions/
extension_unittest.cc 215 EXPECT_TRUE(net::SniffMimeType(data.c_str(),
226 EXPECT_TRUE(net::SniffMimeType(data.c_str(),
  /external/chromium_org/content/browser/loader/
buffered_resource_handler.cc 290 net::SniffMimeType(read_buffer_->data(), bytes_read_, request()->url(),
293 // SniffMimeType() returns false if there is not enough data to determine
  /external/chromium_org/chrome/browser/chromeos/drive/
file_cache.cc 487 } else if (net::SniffMimeType(&content[0], read_result,

Completed in 360 milliseconds