/external/chromium_org/webkit/glue/ |
simple_webmimeregistry_impl.cc | 25 const WebString& mime_type) { 26 return net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type)) ? 31 const WebString& mime_type) { 32 return net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type)) ? 38 const WebString& mime_type) { 39 return net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type)) ? 46 const WebString& mime_type, 54 const WebString& mime_type, 62 const WebString& mime_type) { 63 return net::IsSupportedNonImageMimeType(ToASCIIOrEmpty(mime_type)) 69 std::string mime_type; local 77 std::string mime_type; local 85 std::string mime_type; local 87 &mime_type); local [all...] |
/external/chromium_org/net/base/ |
mime_sniffer_unittest.cc | 17 const char* mime_type; member in struct:net::SnifferTest 21 std::string mime_type; local 28 &mime_type); 29 EXPECT_EQ(tests[i].mime_type, mime_type); 38 std::string mime_type; local 40 mime_type_hint, &mime_type); 41 return mime_type; 45 std::string mime_type; local 54 SniffMimeType(buf, 0, url, type_hint, &mime_type); 375 std::string mime_type; local 391 std::string mime_type; local 451 std::string mime_type; local [all...] |
platform_mime_util.h | 20 const std::string& mime_type, 24 // |mime_type| to the set |extensions|. Returns at least the value returned 27 const std::string& mime_type, 34 std::string* mime_type) const;
|
mime_util.h | 19 std::string* mime_type); 27 std::string* mime_type); 32 std::string* mime_type); 38 const std::string& mime_type, 42 NET_EXPORT bool IsSupportedImageMimeType(const std::string& mime_type); 43 NET_EXPORT bool IsSupportedMediaMimeType(const std::string& mime_type); 44 NET_EXPORT bool IsSupportedNonImageMimeType(const std::string& mime_type); 45 NET_EXPORT bool IsUnsupportedTextMimeType(const std::string& mime_type); 46 NET_EXPORT bool IsSupportedJavascriptMimeType(const std::string& mime_type); 47 NET_EXPORT bool IsSupportedCertificateMimeType(const std::string& mime_type); [all...] |
data_url_unittest.cc | 15 const char* mime_type; member in struct:__anon11573::ParseTestData 169 std::string mime_type; local 173 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data); 176 EXPECT_EQ(tests[i].mime_type, mime_type);
|
data_url.h | 34 // The resulting mime_type is normalized to lowercase. The data is the 45 std::string* mime_type,
|
/external/chromium/net/base/ |
mime_util.h | 20 std::string* mime_type); 24 NET_EXPORT bool GetMimeTypeFromFile(const FilePath& file_path, std::string* mime_type); 29 bool GetPreferredExtensionForMimeType(const std::string& mime_type, 33 bool IsSupportedImageMimeType(const char* mime_type); 34 bool IsSupportedMediaMimeType(const char* mime_type); 35 bool IsSupportedNonImageMimeType(const char* mime_type); 36 bool IsSupportedJavascriptMimeType(const char* mime_type); 40 bool IsViewSourceMimeType(const char* mime_type); 43 bool IsSupportedMimeType(const std::string& mime_type); 49 const std::string &mime_type); [all...] |
platform_mime_util.h | 19 bool GetPreferredExtensionForMimeType(const std::string& mime_type, 26 std::string* mime_type) const;
|
platform_mime_util_linux.cc | 43 const char* mime_type; member in struct:net::MimeToExt 62 const std::string& mime_type, FilePath::StringType* ext) const { 67 if (mime_type_ext_map[x].mime_type == mime_type) {
|
mime_sniffer_unittest.cc | 17 const char* mime_type; member in struct:net::SnifferTest 21 std::string mime_type; local 28 &mime_type); 29 EXPECT_EQ(tests[i].mime_type, mime_type); 38 std::string mime_type; local 40 mime_type_hint, &mime_type); 41 return mime_type; 45 std::string mime_type; local 54 SniffMimeType(buf, 0, url, type_hint, &mime_type); 371 std::string mime_type; local 387 std::string mime_type; local [all...] |
platform_mime_util_android.cc | 19 const std::string& mime_type, FilePath::StringType* ext) const { 20 return MimeUtils::GuessExtensionFromMimeType(mime_type, ext);
|
data_url_unittest.cc | 15 const char* mime_type; member in struct:__anon5354::ParseTestData 143 std::string mime_type; local 147 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data); 150 EXPECT_EQ(tests[i].mime_type, mime_type);
|
mime_util.cc | 26 std::string* mime_type) const; 29 std::string* mime_type) const; 31 bool IsSupportedImageMimeType(const char* mime_type) const; 32 bool IsSupportedMediaMimeType(const char* mime_type) const; 33 bool IsSupportedNonImageMimeType(const char* mime_type) const; 34 bool IsSupportedJavascriptMimeType(const char* mime_type) const; 36 bool IsViewSourceMimeType(const char* mime_type) const; 38 bool IsSupportedMimeType(const std::string& mime_type) const; 41 const std::string &mime_type) const; 49 bool IsStrictMediaMimeType(const std::string& mime_type) const 77 const char* mime_type; member in struct:net::MimeInfo 162 const char* mime_type; local 309 const char* mime_type; member in struct:net::MediaFormatStrict 389 DCHECK_EQ(StringToLowerASCII(mime_type), mime_type); local [all...] |
data_url.h | 35 // The resulting mime_type is normalized to lowercase. The data is the 46 std::string* mime_type,
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
mime_util.cc | 22 std::string mime_type; local 25 &mime_type)) { 31 return mime_type;
|
/external/chromium_org/chrome/utility/media_galleries/ |
media_metadata_parser.cc | 13 const std::string& mime_type) 16 metadata_->mime_type = mime_type;
|
/external/chromium/webkit/glue/ |
simple_webmimeregistry_impl.cc | 32 const WebString& mime_type) { 33 if (!net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type).c_str())) 39 const WebString& mime_type) { 40 if (!net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type).c_str())) 46 const WebString& mime_type) { 47 if (!net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type).c_str())) 53 const WebString& mime_type, const WebString& codecs) { 55 if (!net::IsSupportedMediaMimeType(ToASCIIOrEmpty(mime_type).c_str())) 59 if (net::IsStrictMediaMimeType(ToASCIIOrEmpty(mime_type).c_str())) { 69 if (!net::IsSupportedStrictMediaMimeType(ToASCIIOrEmpty(mime_type).c_str() 96 std::string mime_type; local 98 WebStringToFilePathString(file_extension), &mime_type); local 104 std::string mime_type; local [all...] |
/external/chromium_org/content/public/browser/ |
load_from_memory_cache_details.cc | 15 const std::string& mime_type, 22 mime_type(mime_type),
|
/external/chromium_org/remoting/protocol/ |
clipboard_filter_unittest.cc | 17 MATCHER_P2(EqualsClipboardEvent, mime_type, data, "") { 18 return arg.mime_type() == mime_type && arg.data() == data; 21 static ClipboardEvent MakeClipboardEvent(const std::string& mime_type, 24 event.set_mime_type(mime_type);
|
/external/chromium_org/chrome/browser/download/ |
download_extensions.h | 23 // Tests if we think the server means for this mime_type to be executable. 24 bool IsExecutableMimeType(const std::string& mime_type);
|
/external/chromium_org/content/browser/ |
mime_registry_message_filter.cc | 39 const base::FilePath::StringType& ext, std::string* mime_type) { 40 net::GetMimeTypeFromExtension(ext, mime_type); 44 const base::FilePath& file_path, std::string* mime_type) { 45 net::GetMimeTypeFromFile(file_path, mime_type);
|
mime_registry_message_filter.h | 27 std::string* mime_type); 29 std::string* mime_type);
|
plugin_data_remover_impl.h | 28 void set_mime_type(const std::string& mime_type) { mime_type_ = mime_type; }
|
/external/chromium/net/url_request/ |
url_request_about_job.cc | 35 bool URLRequestAboutJob::GetMimeType(std::string* mime_type) const { 36 *mime_type = "text/html";
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
write_on_cache_file.h | 28 // If non-empty |mime_type| is set and the file is created by this function 29 // call, the mime type for the entry is set to |mime_type|. Otherwise the type 35 const std::string& mime_type, 42 const std::string& mime_type,
|