HomeSort by relevance Sort by last modified time
    Searched defs:mime_type (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /external/chromium_org/net/http/
http_util.cc 95 string* mime_type,
167 // also, if type_val is the same as mime_type, then just update the
168 // charset. however, if charset is empty and mime_type hasn't
176 // Common case here is that mime_type is empty
177 bool eq = !mime_type->empty() && LowerCaseEqualsASCII(begin + type_val,
179 mime_type->data());
181 mime_type->assign(begin + type_val, begin + type_end);
182 StringToLowerASCII(mime_type); variable
  /external/chromium_org/chrome/browser/tab_contents/
view_source_browsertest.cc 88 const char* mime_type = browser()->tab_strip_model()->GetActiveWebContents()-> local
91 EXPECT_STREQ("audio/wav", mime_type);
  /external/chromium/chrome/browser/ui/webui/
shared_resources_data_source.cc 80 std::string mime_type; local
81 net::GetMimeTypeFromFile(FilePath().AppendASCII(path), &mime_type); local
82 return mime_type;
  /external/chromium/net/base/
data_url_unittest.cc 15 const char* mime_type; member in struct:__anon5351::ParseTestData
143 std::string mime_type; local
147 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data);
150 EXPECT_EQ(tests[i].mime_type, mime_type);
platform_mime_util_linux.cc 43 const char* mime_type; member in struct:net::MimeToExt
62 const std::string& mime_type, FilePath::StringType* ext) const {
67 if (mime_type_ext_map[x].mime_type == mime_type) {
mime_sniffer_unittest.cc 17 const char* mime_type; member in struct:net::SnifferTest
21 std::string mime_type; local
28 &mime_type);
29 EXPECT_EQ(tests[i].mime_type, mime_type);
38 std::string mime_type; local
40 mime_type_hint, &mime_type);
41 return mime_type;
45 std::string mime_type; local
54 SniffMimeType(buf, 0, url, type_hint, &mime_type);
371 std::string mime_type; local
387 std::string mime_type; local
    [all...]
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...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
media_path_filter.cc 74 std::string mime_type; local
75 return !net::GetMimeTypeFromExtension(extension, &mime_type) ||
76 !net::IsSupportedMimeType(mime_type);
supported_audio_video_checker.cc 29 std::string mime_type; local
30 if (net::GetWellKnownMimeTypeFromExtension(extensions[i], &mime_type) &&
31 net::IsSupportedMimeType(mime_type)) {
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
nacl_modules_handler.h 24 std::string mime_type; member in struct:extensions::NaClModuleInfo
nacl_modules_handler.cc 68 // Get nacl_modules[i].mime_type.
69 std::string mime_type; local
70 if (!module_value->GetString(keys::kNaClModulesMIMEType, &mime_type)) {
79 nacl_module_data->nacl_modules_.back().mime_type = mime_type;
  /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/public/browser/
load_from_memory_cache_details.h 22 const std::string& mime_type,
31 std::string mime_type; member in struct:content::LoadFromMemoryCacheDetails
  /external/chromium_org/net/base/
data_url_unittest.cc 15 const char* mime_type; member in struct:__anon10913::ParseTestData
169 std::string mime_type; local
173 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data);
176 EXPECT_EQ(tests[i].mime_type, mime_type);
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))
mime_sniffer_unittest.cc 17 const char* mime_type; member in struct:net::SnifferTest
21 std::string mime_type; local
28 &mime_type);
29 EXPECT_EQ(tests[i].mime_type, mime_type);
38 std::string mime_type; local
40 mime_type_hint, &mime_type);
41 return mime_type;
45 std::string mime_type; local
54 SniffMimeType(buf, 0, url, type_hint, &mime_type);
375 std::string mime_type; local
391 std::string mime_type; local
451 std::string mime_type; local
    [all...]
  /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_util_unittest.cc 38 const char* mime_type; member in struct:__anon4503::__anon4504
459 kGenerateFileNameTestCases[i].mime_type,
470 kGenerateFileNameTestCases[i].mime_type,
500 const char* mime_type; member in struct:__anon4503::__anon4505
576 download_util::GenerateSafeFileName(kSafeFilenameCases[i].mime_type, &path);
  /external/chromium/webkit/glue/
simple_webmimeregistry_impl.cc 32 const WebString& mime_type) {
33 if (!net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type).c_str()))
39 const WebString& mime_type) {
40 if (!net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type).c_str()))
46 const WebString& mime_type) {
47 if (!net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type).c_str()))
53 const WebString& mime_type, const WebString& codecs) {
55 if (!net::IsSupportedMediaMimeType(ToASCIIOrEmpty(mime_type).c_str()))
59 if (net::IsStrictMediaMimeType(ToASCIIOrEmpty(mime_type).c_str())) {
69 if (!net::IsSupportedStrictMediaMimeType(ToASCIIOrEmpty(mime_type).c_str()
96 std::string mime_type; local
98 WebStringToFilePathString(file_extension), &mime_type); local
104 std::string mime_type; local
    [all...]
  /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/renderer/media/crypto/
key_systems_info.h 19 const char* mime_type; member in struct:content::MediaFormatAndKeySystem
  /external/chromium_org/webkit/glue/
simple_webmimeregistry_impl.cc 25 const WebString& mime_type) {
26 return net::IsSupportedMimeType(ToASCIIOrEmpty(mime_type)) ?
31 const WebString& mime_type) {
32 return net::IsSupportedImageMimeType(ToASCIIOrEmpty(mime_type)) ?
38 const WebString& mime_type) {
39 return net::IsSupportedJavascriptMimeType(ToASCIIOrEmpty(mime_type)) ?
46 const WebString& mime_type, const WebString& codecs) {
52 const WebString& mime_type,
60 const WebString& mime_type,
68 const WebString& mime_type) {
75 std::string mime_type; local
83 std::string mime_type; local
91 std::string mime_type; local
93 &mime_type); local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/file_system/
create_file_operation.cc 35 std::string* mime_type) {
38 DCHECK(mime_type);
60 // In the request, parent_resource_id and mime_type are needed.
65 if (!net::GetMimeTypeFromFile(file_path, mime_type))
66 *mime_type = kMimeTypeOctetStream;
148 std::string* mime_type = new std::string; local
157 mime_type),
163 base::Owned(mime_type)));
170 std::string* mime_type,
175 DCHECK(mime_type);
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/screens/
terms_of_service_screen.cc 135 std::string mime_type; local
139 !source->GetResponseHeaders()->GetMimeType(&mime_type) ||
140 mime_type != "text/plain" ||
  /external/chromium_org/content/browser/download/
download_create_info.h 65 std::string mime_type; member in struct:content::DownloadCreateInfo
68 // may be different from |mime_type|, which may be set based on heuristics

Completed in 754 milliseconds

1 2 3 4 5 6