/external/chromium_org/content/child/ |
simple_webmimeregistry_impl.cc | 26 const WebString& mime_type) { 27 return net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type)) ? 32 const WebString& mime_type) { 33 return net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type)) ? 39 const WebString& mime_type) { 40 return net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type)) ? 47 const WebString& mime_type, 55 const WebString& mime_type, 63 const blink::WebString& mime_type, 71 const WebString& mime_type) { 78 std::string mime_type; local 86 std::string mime_type; local 94 std::string mime_type; local 96 &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:__anon13020::ParseTestData 176 std::string mime_type; local 180 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data); 183 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,
|
mime_util.cc | 54 std::string* mime_type) const; 57 std::string* mime_type) const; 60 std::string* mime_type) const; 62 bool IsSupportedImageMimeType(const std::string& mime_type) const; 63 bool IsSupportedMediaMimeType(const std::string& mime_type) const; 64 bool IsSupportedNonImageMimeType(const std::string& mime_type) const; 65 bool IsUnsupportedTextMimeType(const std::string& mime_type) const; 66 bool IsSupportedJavascriptMimeType(const std::string& mime_type) const; 68 bool IsSupportedMimeType(const std::string& mime_type) const; 71 const std::string &mime_type) const 127 const char* mime_type; member in struct:net::MimeInfo 236 const char* mime_type = FindMimeType(primary_mappings, local 358 const char* mime_type; member in struct:net::CertificateMimeTypeInfo 451 const char* mime_type; member in struct:net::MediaFormatStrict 643 DCHECK_EQ(StringToLowerASCII(mime_type), mime_type); local 996 const std::string mime_type = StringToLowerASCII(unsafe_mime_type); local [all...] |
platform_mime_util_linux.cc | 58 const char* mime_type; member in struct:net::MimeToExt 78 const std::string& mime_type, base::FilePath::StringType* ext) const { 83 if (mime_type_ext_map[x].mime_type == mime_type) { 103 const std::string& mime_type, 106 if (GetPreferredExtensionForMimeType(mime_type, &ext))
|
data_url.cc | 22 bool DataURL::Parse(const GURL& url, std::string* mime_type, 24 DCHECK(mime_type->empty()); 44 mime_type->swap(*iter); 45 StringToLowerASCII(mime_type); 63 if (mime_type->empty()) { 65 mime_type->assign("text/plain"); 66 } else if (!ParseMimeTypeWithoutParameter(*mime_type, NULL, NULL)) { 95 if (base64_encoded || !(mime_type->compare(0, 5, "text/") == 0 || 96 mime_type->find("xml") != std::string::npos)) {
|
filename_util.h | 50 // filename doesn't contain an extension, and a |mime_type| is specified, the 51 // preferred extension for the |mime_type| will be appended to the filename. 56 // Note: |mime_type| should only be specified if this function is called from a 63 const std::string& mime_type, 72 const std::string& mime_type, 100 // exists, for |mime_type| will be used as the extension. 108 // Note: |mime_type| should only be non-empty if this function is called from a 110 NET_EXPORT void GenerateSafeFileName(const std::string& mime_type,
|
/external/chromium_org/components/metrics/ |
metrics_log_uploader.cc | 11 const std::string& mime_type, 14 mime_type_(mime_type),
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
mime_util.cc | 19 std::string mime_type; local 22 &mime_type)) { 28 return mime_type;
|
/external/chromium_org/content/public/browser/ |
load_from_memory_cache_details.cc | 15 const std::string& mime_type, 22 mime_type(mime_type),
|
load_from_memory_cache_details.h | 22 const std::string& mime_type, 31 std::string mime_type; member in struct:content::LoadFromMemoryCacheDetails
|
/external/chromium_org/mojo/examples/html_viewer/ |
webmimeregistry_impl.cc | 26 const blink::WebString& mime_type) { 27 return net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type)) ? 33 const blink::WebString& mime_type) { 34 return net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type)) ? 41 const blink::WebString& mime_type) { 42 return net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type)) ? 48 const blink::WebString& mime_type, 56 const blink::WebString& mime_type, 64 const blink::WebString& mime_type, 72 const blink::WebString& mime_type) { [all...] |
webmimeregistry_impl.h | 21 const blink::WebString& mime_type); 23 const blink::WebString& mime_type); 25 const blink::WebString& mime_type); 27 const blink::WebString& mime_type, 31 const blink::WebString& mime_type, 35 const blink::WebString& mime_type, 38 const blink::WebString& 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 | 26 std::string* mime_type); 28 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_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,
|
/external/chromium_org/net/url_request/ |
url_request_about_job.cc | 31 bool URLRequestAboutJob::GetMimeType(std::string* mime_type) const { 32 *mime_type = "text/html";
|
url_request_data_job.cc | 19 int URLRequestDataJob::GetData(std::string* mime_type, 28 return DataURL::Parse(url, mime_type, charset, data)? OK: ERR_INVALID_URL;
|
/external/chromium_org/content/browser/speech/ |
audio_encoder.h | 44 const std::string& mime_type() { return mime_type_; } function in class:content::AudioEncoder 48 AudioEncoder(const std::string& mime_type, int bits_per_sample);
|