HomeSort by relevance Sort by last modified time
    Searched refs:mime_type (Results 51 - 75 of 136) sorted by null

1 23 4 5 6

  /external/webkit/Tools/iExploder/iexploder-1.7.2/src/
iexploder.rb 105 mime_type = $MIME_MAP[extension]
106 data[mime_type] = File.read(directory + "/" + filename)
152 mime_type = @media.keys[rand(@media.keys.length)]
153 return generateTestUrl(@test_num, nil, nil, mime_type)
525 def buildMediaFile(mime_type)
526 if @media.has_key?(mime_type)
527 data = @media[mime_type].dup
529 puts "No media found for #{mime_type}"
566 def generateTestUrl(test_num, subtest_width=nil, subtest_offsets=nil, mime_type=nil)
584 if mime_type
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_protocols.cc 44 virtual bool GetData(std::string* mime_type,
56 result = net::GetMimeTypeFromFile(filename_, mime_type);
59 if (StartsWithASCII(*mime_type, "text/", false)) {
  /external/chromium/chrome/browser/
browser_process.h 225 void set_plugin_data_remover_mime_type(const std::string& mime_type) {
226 plugin_data_remover_mime_type_ = mime_type;
plugin_data_remover.cc 172 std::string mime_type; local
174 GURL(), kFlashMimeType, allow_wildcard, &plugin, &mime_type)) {
  /external/chromium/chrome/browser/net/
url_request_mock_http_job.cc 108 bool URLRequestMockHTTPJob::GetMimeType(std::string* mime_type) const {
111 return info.headers && info.headers->GetMimeType(mime_type);
url_request_slow_download_job.cc 178 bool URLRequestSlowDownloadJob::GetMimeType(std::string* mime_type) const {
181 return info.headers && info.headers->GetMimeType(mime_type);
  /external/chromium/chrome/common/extensions/
extension_localization_peer.cc 34 const std::string& mime_type,
39 StartsWithASCII(mime_type, "text/css", false)) ?
extension_localization_peer.h 29 const std::string& mime_type,
  /external/chromium/net/http/
http_util.cc 92 string* mime_type, string* charset,
154 // also, if type_val is the same as mime_type, then just update the
155 // charset. however, if charset is empty and mime_type hasn't
163 // Common case here is that mime_type is empty
164 bool eq = !mime_type->empty() &&
167 mime_type->data());
169 mime_type->assign(content_type_str.begin() + type_val,
171 StringToLowerASCII(mime_type);
http_response_headers.h 167 void GetMimeTypeAndCharset(std::string* mime_type,
172 bool GetMimeType(std::string* mime_type) const;
  /external/chromium/net/url_request/
url_request_test_job.h 97 virtual bool GetMimeType(std::string* mime_type) const;
url_request_file_dir_job.cc 97 bool URLRequestFileDirJob::GetMimeType(std::string* mime_type) const {
98 *mime_type = "text/html";
url_request_test_job.cc 116 bool URLRequestTestJob::GetMimeType(std::string* mime_type) const {
117 DCHECK(mime_type);
120 return response_headers_->GetMimeType(mime_type);
  /external/webkit/Source/WebKit/gtk/webkit/
webkitwebresource.h 63 const gchar *mime_type,
  /external/chromium/chrome/browser/automation/
url_request_automation_job.cc 178 bool URLRequestAutomationJob::GetMimeType(std::string* mime_type) const {
180 *mime_type = mime_type_;
182 headers_->GetMimeType(mime_type);
185 return (!mime_type->empty());
286 mime_type_ = response.mime_type;
url_request_automation_job.h 44 virtual bool GetMimeType(std::string* mime_type) const;
  /external/chromium/chrome/browser/ui/webui/
chrome_url_data_manager_backend.cc 81 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
88 void SetMimeType(const std::string& mime_type) {
89 mime_type_ = mime_type;
309 bool URLRequestChromeJob::GetMimeType(std::string* mime_type) const {
310 *mime_type = mime_type_;
  /external/chromium/webkit/glue/
webkitclient_impl.cc 242 const webkit::npapi::WebPluginMimeType& mime_type = plugin.mime_types[j]; local
245 WebString::fromUTF8(mime_type.mime_type), mime_type.description);
247 for (size_t k = 0; k < mime_type.file_extensions.size(); ++k) {
249 UTF8ToUTF16(mime_type.file_extensions[k]));
weburlloader_impl.cc 151 std::string mime_type; local
153 if (net::DataURL::Parse(url, &mime_type, &charset, data)) {
158 info->mime_type.swap(mime_type);
181 response->setMIMEType(WebString::fromUTF8(info.mime_type));
555 if (info.mime_type == "text/vnd.chromium.ftp-dir") {
574 if (info.headers && info.mime_type == "multipart/x-mixed-replace") {
588 } else if (info.mime_type == "text/vnd.chromium.ftp-dir" &&
691 std::string mime_type, unused_charset;
692 if (net::DataURL::Parse(url, &mime_type, &unused_charset, NULL) &
    [all...]
  /external/chromium/chrome/browser/download/
download_util.cc 216 const std::string& mime_type,
246 net::GetPreferredExtensionForMimeType(mime_type, &extension);
257 info->mime_type,
264 const std::string& mime_type,
287 GenerateSafeFileName(mime_type, generated_name);
290 void GenerateSafeFileName(const std::string& mime_type, FilePath* file_name) {
293 GenerateExtension(*file_name, mime_type, &extension);
331 download_item.mime_type())) {
571 std::string mime_type = download->mime_type(); local
    [all...]
save_package.cc 1182 std::string mime_type; local
1198 std::string mime_type; local
1212 const FilePath::CharType *mime_type; member in struct:__anon4044
1264 std::string mime_type = tab_contents()->contents_mime_type(); local
    [all...]
  /external/chromium/net/base/
filter.h 71 virtual bool GetMimeType(std::string* mime_type) const = 0;
  /external/chromium/net/server/
http_server.h 49 const std::string& mime_type);
  /external/webkit/Source/WebKit/gtk/tests/
testwebresource.c 116 gchar* mime_type; local
117 g_object_get(G_OBJECT(fixture->webResource), "mime-type", &mime_type, NULL);
118 g_assert_cmpstr(mime_type, ==, "text/html");
120 g_free(mime_type);
  /external/chromium/base/
mime_util_xdg.cc 589 FilePath GetMimeIcon(const std::string& mime_type, size_t size) {
597 const char *icon = xdg_mime_get_icon(mime_type.c_str());
605 icon_name = mime_type;
615 icon_name = mime_type.substr(mime_type.find("/x-") + 3);
619 icon_name = mime_type.substr(0, mime_type.find('/')) + "-x-generic";

Completed in 1093 milliseconds

1 23 4 5 6