/external/chromium_org/net/base/ |
mime_util_unittest.cc | 16 const char* mime_type; member in struct:net::__anon10942 26 std::string mime_type; local 30 rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type); 33 EXPECT_EQ(tests[i].mime_type, mime_type); 40 const char* mime_type; member in struct:net::__anon10943 51 std::string mime_type; local 56 &mime_type); 59 EXPECT_EQ(tests[i].mime_type, mime_type); 238 const char* mime_type; member in struct:net::__anon10945 [all...] |
/external/chromium_org/net/url_request/ |
url_request_file_job.h | 45 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; 65 std::string mime_type; member in struct:net::URLRequestFileJob::FileMetaInfo
|
/external/chromium/chrome/browser/history/ |
download_create_info.h | 65 std::string mime_type; member in struct:DownloadCreateInfo 67 // may be different from |mime_type|, which may be set based on heuristics
|
/external/chromium/chrome/browser/ |
plugin_data_remover.cc | 172 std::string mime_type; local 174 GURL(), kFlashMimeType, allow_wildcard, &plugin, &mime_type)) {
|
file_select_helper.cc | 189 string16 mime_type = mime_types[i]; local 190 std::string ascii_mime_type = StringToLowerASCII(UTF16ToASCII(mime_type));
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
drive_url_request_job_unittest.cc | 215 std::string mime_type; local 216 request.GetMimeType(&mime_type); 217 EXPECT_EQ("audio/mpeg", mime_type); 238 std::string mime_type; local 239 request.GetMimeType(&mime_type); 240 EXPECT_EQ("audio/mpeg", mime_type);
|
/external/chromium_org/chrome/browser/renderer_host/ |
plugin_info_message_filter_unittest.cc | 86 content::WebPluginMimeType mime_type; variable 87 mime_type.mime_type = "foo/bar"; 88 foo_plugin.mime_types.push_back(mime_type); 96 mime_type.mime_type = "foo/bar"; 97 bar_plugin.mime_types.push_back(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/browser/ui/webui/chromeos/login/ |
user_image_screen_handler.cc | 150 std::string mime_type, charset, raw_data; local 151 if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data)) 153 DCHECK_EQ("image/png", mime_type);
|
/external/chromium_org/content/public/common/ |
webplugininfo.h | 31 std::string mime_type; member in struct:content::WebPluginMimeType
|
/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) {
|
/external/chromium_org/webkit/common/ |
resource_response_info.h | 38 std::string mime_type; member in struct:webkit_glue::ResourceResponseInfo
|
/external/chromium/net/proxy/ |
proxy_script_fetcher_impl.cc | 34 // Returns true if |mime_type| is one of the known PAC mime type. 35 bool IsPacMimeType(const std::string& mime_type) { 41 if (LowerCaseEqualsASCII(mime_type, kSupportedPacMimeTypes[i])) 129 std::string mime_type; local 132 if (!DataURL::Parse(url, &mime_type, &charset, &data)) 220 std::string mime_type; local 221 cur_request_->GetMimeType(&mime_type); 222 if (!IsPacMimeType(mime_type)) { 224 << mime_type;
|
/external/chromium/webkit/glue/media/ |
simple_data_source.cc | 290 std::string mime_type, charset; local 291 bool success = net::DataURL::Parse(url_, &mime_type, &charset, &data_);
|
/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/android_webview/browser/net/ |
android_stream_reader_url_request_job.cc | 263 std::string* mime_type) const { 276 env, request(), input_stream_reader_wrapper_->input_stream(), mime_type); 316 std::string mime_type; local 317 if (GetMimeType(&mime_type) && !mime_type.empty()) { 320 content_type_header.append(mime_type);
|
/external/chromium_org/apps/ |
launcher.cc | 159 std::string mime_type; local 160 if (!net::GetMimeTypeFromFile(file_path_, &mime_type)) 161 mime_type = kFallbackMimeType; 164 &PlatformAppPathLauncher::LaunchWithMimeType, this, mime_type)); 194 const std::string& mime_type = local 196 LaunchWithMimeType(mime_type.empty() ? kFallbackMimeType : mime_type); 205 void LaunchWithMimeType(const std::string& mime_type) { 211 handler = FirstFileHandlerForFile(*extension_, mime_type, file_path_); 212 if (handler && !FileHandlerCanHandleFile(*handler, mime_type, file_path_)) [all...] |
/external/chromium_org/chrome/browser/download/ |
download_util.cc | 144 std::string mime_type = download->GetMimeType(); local 145 if (mime_type.empty()) 146 net::GetMimeTypeFromFile(full_path, &mime_type); 149 if (net::IsSupportedMimeType(mime_type)) {
|
/external/chromium_org/chrome/browser/plugins/ |
plugin_info_message_filter.cc | 119 std::string mime_type; member in struct:PluginInfoMessageFilter::GetPluginInfo_Params 126 const std::string& mime_type, 132 mime_type 148 params.top_origin_url, params.mime_type, 237 const std::string& mime_type, 246 url, mime_type, allow_wildcard, &matching_plugins, &mime_types);
|
/external/chromium_org/chrome/browser/predictors/ |
resource_prefetch_predictor.h | 88 std::string mime_type; member in struct:predictors::ResourcePrefetchPredictor::URLRequestSummary 106 const std::string& mime_type, 196 const std::string& mime_type,
|
/external/chromium_org/chrome/browser/profile_resetter/ |
brandcode_config_fetcher.cc | 176 std::string mime_type; local 180 config_fetcher_->GetResponseHeaders()->GetMimeType(&mime_type) && 181 mime_type == "text/xml" &&
|
/external/chromium_org/net/proxy/ |
proxy_script_fetcher_impl.cc | 35 // Returns true if |mime_type| is one of the known PAC mime type. 36 bool IsPacMimeType(const std::string& mime_type) { 42 if (LowerCaseEqualsASCII(mime_type, kSupportedPacMimeTypes[i])) 126 std::string mime_type; local 129 if (!DataURL::Parse(url, &mime_type, &charset, &data)) 228 std::string mime_type; local 229 cur_request_->GetMimeType(&mime_type); 230 if (!IsPacMimeType(mime_type)) { 232 << mime_type;
|
/external/chromium/chrome/browser/ui/gtk/ |
dialogs_gtk.cc | 267 std::string mime_type = mime_util::GetFileMimeType( local 269 gtk_file_filter_add_mime_type(filter, mime_type.c_str()); 286 std::string mime_type = mime_util::GetFileMimeType( local 288 gtk_file_filter_set_name(filter, mime_type.c_str());
|
/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),
|