/external/chromium_org/content/browser/download/ |
save_package.cc | 1263 std::string mime_type; local 1279 std::string mime_type; local 1292 const base::FilePath::CharType *mime_type; member in struct:content::__anon9996 1328 std::string mime_type = web_contents()->GetContentsMimeType(); local [all...] |
download_manager_impl.cc | 222 const std::string& mime_type, 226 mime_type, request_handle.Pass(), 485 const std::string& mime_type, 494 mime_type, 502 const std::string& mime_type, 516 mime_type,
|
/external/chromium_org/chrome/browser/automation/ |
url_request_automation_job.cc | 227 bool URLRequestAutomationJob::GetMimeType(std::string* mime_type) const { 229 *mime_type = mime_type_; 231 headers_->GetMimeType(mime_type); 234 return (!mime_type->empty()); 351 mime_type_ = response.mime_type;
|
/external/chromium_org/chrome_frame/test/ |
test_server.cc | 101 LPOLESTR mime_type = NULL; local 103 FMFD_DEFAULT, &mime_type, 0); 104 if (mime_type) { 105 *content_type = WideToASCII(mime_type); 106 ::CoTaskMemFree(mime_type);
|
/external/chromium/webkit/glue/ |
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...] |
multipart_response_delegate.cc | 247 std::string mime_type; local 250 net::HttpUtil::ParseContentType(content_type, &mime_type, &charset, 253 response.setMIMEType(WebString::fromUTF8(mime_type));
|
/external/chromium_org/content/browser/ |
plugin_service_impl.cc | 186 webview_plugin_mime_type.mime_type = "application/browser-plugin"; 392 const std::string& mime_type, 407 base::Unretained(this), params, url, mime_type, client)); 449 const std::string& mime_type, 453 params.render_view_id, url, params.page_url, mime_type, client, 462 const std::string& mime_type, 469 url, page_url, mime_type, allow_wildcard, 508 const std::string& mime_type, 514 url, mime_type, allow_wildcard, &use_stale, NPAPIPluginsSupported(), 524 const std::string& mime_type, [all...] |
/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";
|
/external/chromium_org/chrome/browser/google_apis/ |
gdata_wapi_parser.h | 95 const std::string& mime_type() const { return mime_type_; } function in class:google_apis::Link 101 void set_mime_type(const std::string& mime_type) { mime_type_ = mime_type; } 249 const std::string& mime_type() const { return mime_type_; } function in class:google_apis::Content 252 void set_mime_type(const std::string& mime_type) { mime_type_ = mime_type; } 444 const std::string& content_mime_type() const { return content_.mime_type(); }
|
/external/chromium_org/webkit/browser/appcache/ |
view_appcache_internals_job.cc | 344 virtual int GetData(std::string* mime_type, 348 mime_type->assign("text/html"); 397 virtual int GetData(std::string* mime_type, 466 virtual int GetData(std::string* mime_type, 470 mime_type->assign("text/html"); 542 virtual int GetData(std::string* mime_type, 546 mime_type->assign("text/html");
|
/external/chromium_org/net/ocsp/ |
nss_ocsp.cc | 782 const char* mime_type = ""; local 784 mime_type = req->http_response_content_type().c_str(); 786 strcasecmp(mime_type, "application/ocsp-response") == 0; 787 bool is_crl = strcasecmp(mime_type, "application/x-pkcs7-crl") == 0 || 788 strcasecmp(mime_type, "application/x-x509-crl") == 0 || 789 strcasecmp(mime_type, "application/pkix-crl") == 0; 791 strcasecmp(mime_type, "application/x-x509-ca-cert") == 0 || 792 strcasecmp(mime_type, "application/x-x509-server-cert") == 0 || 793 strcasecmp(mime_type, "application/pkix-cert") == 0 || 794 strcasecmp(mime_type, "application/pkcs7-mime") == 0 [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
chrome_resource_dispatcher_host_delegate.cc | 101 // that can handle the |mime_type|. 104 const std::string& mime_type) { 109 return handler->CanHandleMIMEType(mime_type); 493 const GURL& url, const std::string& mime_type) { 495 return extensions::UserScript::IsURLUserScript(url, mime_type); 501 const std::string& mime_type, 525 if (ExtensionCanHandleMimeType(extension, mime_type)) {
|
/external/chromium_org/content/child/npapi/ |
plugin_instance.cc | 28 PluginInstance::PluginInstance(PluginLib* plugin, const std::string& mime_type) 37 mime_type_(mime_type), 85 const std::string& mime_type, 399 const std::string& mime_type, 405 plugin_data_stream_ = CreateStream(-1, url, mime_type, 0); 406 plugin_data_stream_->DidReceiveResponse(mime_type, headers, expected_length,
|
/external/chromium/chrome/browser/download/ |
save_package_unittest.cc | 319 std::string mime_type(kExtensionTests[i].contents_mime_type); 320 FilePath actual = EnsureMimeExtension(original, mime_type); 322 kExtensionTests[i].page_title << " MIME:" << mime_type;
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
tab_contents_drag_win.cc | 189 string16 mime_type; local 193 &mime_type, 205 UTF16ToUTF8(mime_type),
|
/external/chromium_org/android_webview/browser/renderer_host/ |
aw_resource_dispatcher_host_delegate.cc | 237 std::string mime_type; local 248 response_headers->GetMimeType(&mime_type); 262 mime_type,
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
drive_app_registry.cc | 109 const std::string& mime_type, 124 if (!mime_type.empty()) 125 FindAppsForSelector(mime_type, app_mimetypes_map_, &result_map);
|
/external/chromium_org/chrome/browser/plugins/ |
plugin_finder.cc | 193 const std::string& mime_type, 204 metadata_it->second->HasMimeType(mime_type)) { 301 metadata->AddMatchingMimeType(plugin.mime_types[i].mime_type);
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
new_tab_ui.cc | 411 const char* mime_type, 414 DCHECK(mime_type); 416 std::make_pair(std::string(mime_type), resource_id);
|
/external/chromium_org/chrome/renderer/ |
chrome_content_renderer_client_unittest.cc | 63 const char* mime_type, 66 mime_type_info.mime_type = mime_type;
|
/external/chromium_org/content/browser/web_contents/ |
web_contents_drag_win.cc | 230 string16 mime_type; local 234 &mime_type, 247 UTF16ToUTF8(mime_type),
|
/external/chromium_org/net/base/ |
net_util.h | 273 // filename doesn't contain an extension, and a |mime_type| is specified, the 274 // preferred extension for the |mime_type| will be appended to the filename. 279 // Note: |mime_type| should only be specified if this function is called from a 286 const std::string& mime_type, 295 const std::string& mime_type, 326 // exists, for |mime_type| will be used as the extension. 334 // Note: |mime_type| should only be non-empty if this function is called from a 336 NET_EXPORT void GenerateSafeFileName(const std::string& mime_type,
|
/external/chromium_org/net/url_request/ |
url_request_ftp_job.cc | 55 bool URLRequestFtpJob::GetMimeType(std::string* mime_type) const { 58 *mime_type = "text/vnd.chromium.ftp-dir"; 65 headers->GetMimeType(mime_type);
|
/external/chromium_org/webkit/child/ |
multipart_response_delegate.cc | 247 std::string mime_type; local 250 net::HttpUtil::ParseContentType(content_type, &mime_type, &charset, 253 response.setMIMEType(WebString::fromUTF8(mime_type));
|
/external/chromium/chrome/browser/debugger/ |
devtools_http_protocol_handler.h | 89 const std::string& mime_type = "text/html");
|