HomeSort by relevance Sort by last modified time
    Searched refs:mime_type (Results 26 - 50 of 451) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/net/url_request/
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/net/base/
platform_mime_util_linux.cc 58 const char* mime_type; member in struct:net::MimeToExt
77 const std::string& mime_type, base::FilePath::StringType* ext) const {
82 if (mime_type_ext_map[x].mime_type == mime_type) {
102 const std::string& mime_type,
105 if (GetPreferredExtensionForMimeType(mime_type, &ext))
data_url.cc 21 bool DataURL::Parse(const GURL& url, std::string* mime_type,
23 DCHECK(mime_type->empty());
43 mime_type->swap(*iter);
44 StringToLowerASCII(mime_type);
63 if (mime_type->empty())
64 mime_type->assign("text/plain");
91 if (base64_encoded || !(mime_type->compare(0, 5, "text/") == 0 ||
92 mime_type->find("xml") != std::string::npos)) {
mock_filter_context.cc 18 bool MockFilterContext::GetMimeType(std::string* mime_type) const {
19 *mime_type = mime_type_;
  /external/chromium/net/base/
mime_util_unittest.cc 14 const char* mime_type; member in struct:net::__anon5379
24 std::string mime_type; local
28 rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type);
31 EXPECT_EQ(tests[i].mime_type, mime_type);
38 const char* mime_type; member in struct:net::__anon5380
49 std::string mime_type; local
54 &mime_type);
57 EXPECT_EQ(tests[i].mime_type, mime_type);
    [all...]
data_url.cc 19 bool DataURL::Parse(const GURL& url, std::string* mime_type,
45 mime_type->assign(after_colon, semi_colon);
46 StringToLowerASCII(mime_type);
58 if (mime_type->empty())
59 mime_type->assign("text/plain");
86 if (base64_encoded || !(mime_type->compare(0, 5, "text/") == 0 ||
87 mime_type->find("xml") != std::string::npos)) {
mock_filter_context.h 21 void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; }
31 virtual bool GetMimeType(std::string* mime_type) const;
mock_filter_context.cc 18 bool MockFilterContext::GetMimeType(std::string* mime_type) const {
19 *mime_type = mime_type_;
mime_sniffer.h 21 // Examine the URL and the mime_type and decide whether we should sniff a
25 // @param mime_type The current mime type, e.g. from the Content-Type header.
27 bool ShouldSniffMimeType(const GURL& url, const std::string& mime_type);
  /external/chromium/webkit/glue/
site_isolation_metrics.cc 141 std::string mime_type = response.mimeType().utf8(); local
146 if (mime_type == "")
147 mime_type = "(NONE)";
148 MimeTypeMap::iterator mime_type_iter = mime_type_map.find(mime_type);
167 if (mime_type == "text/html") {
171 } else if (mime_type == "text/xml" ||
172 mime_type == "text/xsl" ||
173 mime_type == "application/xml" ||
174 mime_type == "application/xhtml+xml" ||
175 mime_type == "application/rss+xml" |
    [all...]
  /external/chromium_org/content/browser/webui/
shared_resources_data_source.cc 60 std::string mime_type; local
61 net::GetMimeTypeFromFile(base::FilePath().AppendASCII(path), &mime_type); local
62 return mime_type;
  /external/chromium_org/content/renderer/media/crypto/
key_systems.cc 30 const std::string& mime_type,
44 const std::string& mime_type,
76 mime_types_map[combination.mime_type] = codecs;
81 DCHECK(mime_types_map.find(combination.mime_type) ==
83 mime_types_map[combination.mime_type] = codecs;
94 const std::string& mime_type,
103 MimeTypeMappings::const_iterator mime_iter = mime_types_map.find(mime_type);
112 const std::string& mime_type,
122 mime_type, std::string(), key_system);
126 mime_type, codecs[i], key_system)
    [all...]
  /external/chromium/net/url_request/
url_request_data_job.cc 23 bool URLRequestDataJob::GetData(std::string* mime_type,
31 return DataURL::Parse(url, mime_type, charset, data);
url_request_simple_job.h 24 virtual bool GetMimeType(std::string* mime_type) const;
31 virtual bool GetData(std::string* mime_type,
url_request_about_job.h 25 virtual bool GetMimeType(std::string* mime_type) const;
url_request_data_job.h 25 virtual bool GetData(std::string* mime_type,
  /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);
  /external/chromium_org/content/browser/streams/
stream_handle_impl.cc 14 const std::string& mime_type)
18 mime_type_(mime_type),
  /external/chromium_org/content/child/npapi/
plugin_string_stream.cc 23 const std::string &mime_type) {
29 if (Open(mime_type, std::string(), length, 0, false)) {
plugin_string_stream.h 29 const std::string& mime_type);
  /external/chromium/base/
mime_util.h 35 FilePath GetMimeIcon(const std::string& mime_type, size_t size);
  /external/chromium/chrome/browser/chromeos/
gview_request_interceptor.cc 60 std::string mime_type; local
61 request->GetMimeType(&mime_type);
64 if (mime_type == kPdfMimeType) {
76 if (supported_mime_types_.count(mime_type) > 0) {
  /external/chromium/chrome/browser/download/
download_extensions.h 31 // Tests if we think the server means for this mime_type to be executable.
32 bool IsExecutableMimeType(const std::string& mime_type);
  /external/chromium_org/base/nix/
mime_util_xdg.h 37 BASE_EXPORT FilePath GetMimeIcon(const std::string& mime_type, size_t size);
  /external/chromium_org/content/public/child/
resource_dispatcher_delegate.h 26 const std::string& mime_type,

Completed in 1085 milliseconds

12 3 4 5 6 7 8 91011>>