/external/chromium_org/content/browser/webui/ |
url_data_manager_backend.cc | 113 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; 117 // Used to notify that the requested data's |mime_type| is ready. 118 void MimeTypeAvailable(const std::string& mime_type); 124 void set_mime_type(const std::string& mime_type) { 125 mime_type_ = mime_type; 239 bool URLRequestChromeJob::GetMimeType(std::string* mime_type) const { 240 *mime_type = mime_type_; 272 void URLRequestChromeJob::MimeTypeAvailable(const std::string& mime_type) { 273 set_mime_type(mime_type); 347 std::string mime_type = source->source()->GetMimeType(path) local [all...] |
/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;
|
/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]));
|
/external/chromium_org/chrome/browser/extensions/ |
extension_protocols.cc | 97 std::string* mime_type, 99 *result = net::GetMimeTypeFromFile(filename, mime_type); 130 virtual int GetData(std::string* mime_type, 146 mime_type, charset, data, 207 virtual int GetData(std::string* mime_type, 211 *mime_type = "text/html";
|
/external/chromium_org/chrome/browser/ui/webui/ |
plugins_ui.cc | 377 DictionaryValue* mime_type = new DictionaryValue(); local 378 mime_type->SetString("mimeType", plugin_mime_types[k].mime_type); 379 mime_type->SetString("description", plugin_mime_types[k].description); 386 mime_type->Set("fileExtensions", file_extensions); 388 mime_types->Append(mime_type);
|
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
drive.cc | 215 std::string mime_type; member in struct:InsertFileParams 232 if (!params.mime_type.empty()) 233 value["mimeType"] = Json::Value(params.mime_type); 245 result += params.mime_type; 487 p.mime_type = "text/plain"; 505 p.mime_type = "text/plain";
|
/external/chromium_org/chrome/browser/predictors/ |
resource_prefetch_predictor.cc | 194 std::string mime_type; local 195 response->GetMimeType(&mime_type); 196 if (!mime_type.empty() && 197 !net::IsSupportedImageMimeType(mime_type.c_str()) && 198 !net::IsSupportedJavascriptMimeType(mime_type.c_str()) && 199 !net::MatchesMimeType("text/css", mime_type)) { 243 const std::string& mime_type, 245 if (net::IsSupportedImageMimeType(mime_type.c_str())) 247 else if (net::IsSupportedJavascriptMimeType(mime_type.c_str())) 249 else if (net::MatchesMimeType("text/css", mime_type)) [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...] |
/external/chromium_org/webkit/child/ |
weburlloader_impl.cc | 125 std::string mime_type; local 127 if (net::DataURL::Parse(url, &mime_type, &charset, data)) { 136 info->mime_type.swap(mime_type); 190 response->setMIMEType(WebString::fromUTF8(info.mime_type)); 277 std::string(), // mime_type 628 if (info.mime_type == "text/vnd.chromium.ftp-dir") { 648 if (info.headers.get() && info.mime_type == "multipart/x-mixed-replace") { 652 std::string mime_type; local 656 net::HttpUtil::ParseContentType(content_type, &mime_type, &charset [all...] |
/external/chromium/chrome/browser/net/ |
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/browser/ |
plugin_data_remover.cc | 172 std::string mime_type; local 174 GURL(), kFlashMimeType, allow_wildcard, &plugin, &mime_type)) {
|
/external/chromium/net/http/ |
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_file_dir_job.cc | 97 bool URLRequestFileDirJob::GetMimeType(std::string* mime_type) const { 98 *mime_type = "text/html";
|
/external/chromium_org/base/nix/ |
mime_util_xdg.cc | 601 FilePath GetMimeIcon(const std::string& mime_type, size_t size) { 607 if (!mime_type.empty()) { 609 const char *icon = xdg_mime_get_icon(mime_type.c_str()); 617 icon_name = mime_type; 627 size_t x_substr_pos = mime_type.find("/x-"); 629 icon_name = mime_type.substr(x_substr_pos + 3); 634 icon_name = mime_type.substr(0, mime_type.find('/')) + "-x-generic";
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_tasks.cc | 109 std::string mime_type; local 110 if (!mime_type_list->GetString(i, &mime_type)) 113 if (!mime_type.empty()) 114 mime_types.insert(mime_type); 190 std::string mime_type; member in struct:file_manager::GetFileTasksFunction::FileInfo 225 file_info.file_path, file_info.mime_type, &app_info_list); 268 profile_, file_info.mime_type, file_info.file_path.Extension()); 502 !mime_types_list->GetString(i, &info.mime_type))
|
/external/chromium_org/chrome/browser/net/ |
resource_prefetch_predictor_observer.cc | 74 request->GetMimeType(&summary->mime_type); 77 // Use the mime_type to determine the resource type for subresources since 82 summary->mime_type,
|
/external/chromium_org/chrome/browser/search/ |
local_ntp_source.cc | 39 const char* mime_type; member in struct:__anon8092::Resource 165 return kResources[i].mime_type;
|
/external/chromium_org/chrome/service/cloud_print/ |
cloud_print_connector.cc | 300 const std::string& mime_type, 306 url, this, max_retries, mime_type, post_data, std::string()); 320 std::string mime_type("multipart/form-data; boundary="); 321 mime_type += mime_boundary; 323 user_message_request_->StartPostRequest(url, this, 1, mime_type, post_data, 552 std::string mime_type("multipart/form-data; boundary="); 553 mime_type += mime_boundary; 558 mime_type,
|
/external/chromium_org/content/browser/download/ |
download_manager_impl.h | 52 const std::string& mime_type, 122 const std::string& mime_type,
|
/external/chromium_org/content/browser/speech/ |
audio_encoder.cc | 181 AudioEncoder::AudioEncoder(const std::string& mime_type, int bits_per_sample) 183 mime_type_(mime_type),
|
/external/chromium_org/content/browser/streams/ |
stream.cc | 123 const std::string& mime_type) { 127 mime_type);
|
stream_url_request_job.cc | 104 bool StreamURLRequestJob::GetMimeType(std::string* mime_type) const { 109 return response_info_->headers->GetMimeType(mime_type);
|
/external/chromium_org/content/renderer/ |
image_loading_helper.cc | 170 std::string mime_type, char_set, data; local 171 if (net::DataURL::Parse(url, &mime_type, &char_set, &data) && !data.empty()) {
|
/external/chromium_org/content/shell/renderer/ |
shell_content_renderer_client.cc | 101 std::string mime_type = params.mimeType.utf8(); local 102 if (mime_type == content::kBrowserPluginMimeType) {
|