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

  /external/chromium/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", "", "text/xml"));
310 SniffMimeType("<?xml?><feed", "", "text/plain"));
313 SniffMimeType("<?xml version='1.0'?>\r\n<rss", "", "text/xml"))
    [all...]
mime_sniffer.h 17 // |SniffMimeType|.
38 bool SniffMimeType(const char* content, size_t content_size,
mime_sniffer.cc 615 bool SniffMimeType(const char* content, size_t content_size,
  /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/webkit/glue/
site_isolation_metrics.cc 205 bool successful = net::SniffMimeType(data, len, response_url,
  /external/chromium_org/chrome/common/extensions/
extension_unittest.cc 143 EXPECT_TRUE(net::SniffMimeType(data.c_str(),
154 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/chrome/common/extensions/
extension_unittest.cc     [all...]

Completed in 109 milliseconds