/external/chromium_org/net/base/ |
platform_mime_util_win.cc | 29 const std::string& mime_type, base::FilePath::StringType* ext) const { 30 std::wstring key(L"MIME\\Database\\Content Type\\" + UTF8ToWide(mime_type)); 43 const std::string& mime_type, 50 if (GetPreferredExtensionForMimeType(mime_type, &ext))
|
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...] |
mime_sniffer.h | 22 // Examine the URL and the mime_type and decide whether we should sniff a 26 // @param mime_type The current mime type, e.g. from the Content-Type header. 29 const std::string& mime_type);
|
/external/chromium_org/net/url_request/ |
url_request_about_job.h | 22 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
url_request_data_job.h | 22 virtual int GetData(std::string* mime_type,
|
url_request_simple_job.h | 27 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; 43 virtual int GetData(std::string* mime_type,
|
/external/chromium_org/chrome/browser/plugins/ |
plugin_metadata.cc | 48 void PluginMetadata::AddMimeType(const std::string& mime_type) { 49 all_mime_types_.push_back(mime_type); 52 void PluginMetadata::AddMatchingMimeType(const std::string& mime_type) { 53 matching_mime_types_.push_back(mime_type); 56 bool PluginMetadata::HasMimeType(const std::string& mime_type) const { 57 return std::find(all_mime_types_.begin(), all_mime_types_.end(), mime_type) != 67 if (plugin.mime_types[j].mime_type == matching_mime_types_[i])
|
/external/chromium_org/content/common/ |
plugin_list.cc | 145 WebPluginMimeType mime_type; local 146 mime_type.mime_type = StringToLowerASCII(mime_types[i]); 148 base::SplitString(file_extensions[i], ',', &mime_type.file_extensions); 151 mime_type.description = descriptions[i]; 156 size_t ext = mime_type.description.find(ASCIIToUTF16("(*")); 158 if (ext > 1 && mime_type.description[ext - 1] == ' ') 161 mime_type.description.erase(ext); 165 parsed_mime_types->push_back(mime_type); 233 const std::string &mime_type = plugin_info->mime_types[i].mime_type local 389 const WebPluginMimeType& mime_type = plugin.mime_types[i]; local [all...] |
/external/chromium_org/chrome/renderer/plugins/ |
plugin_uma.cc | 173 const std::string& mime_type) { 174 if (mime_type == kWindowsMediaPlayerType) 178 if (strncmp(mime_type.c_str(), kSilverlightTypePrefix, prefix_length) == 0) 182 if (strncmp(mime_type.c_str(), kRealPlayerTypePrefix, prefix_length) == 0) 185 if (strstr(mime_type.c_str(), kJavaTypeSubstring)) 188 if (mime_type == kQuickTimeType) 191 if (mime_type == content::kBrowserPluginMimeType) 194 if (mime_type == content::kFlashPluginSwfMimeType || 195 mime_type == content::kFlashPluginSplMimeType) { 200 if (mime_type == kWidevineCdmPluginMimeType [all...] |
/external/chromium_org/content/browser/loader/ |
buffered_resource_handler.cc | 40 const std::string& mime_type) { 59 nosniff_empty_mime_type->AddBoolean(mime_type.empty()); 130 if (response_->head.mime_type.empty()) { 134 response_->head.mime_type.assign("text/plain"); 138 if (response_->head.mime_type == "application/rss+xml" || 139 response_->head.mime_type == "application/atom+xml") { 140 response_->head.mime_type.assign("text/plain"); 259 const std::string& mime_type = response_->head.mime_type; local 268 net::ShouldSniffMimeType(request_->url(), mime_type); 305 const std::string& mime_type = response_->head.mime_type; local [all...] |
/external/chromium_org/remoting/protocol/ |
clipboard_echo_filter_unittest.cc | 18 MATCHER_P2(EqualsClipboardEvent, mime_type, data, "") { 19 return arg.mime_type() == mime_type && arg.data() == data; 22 static ClipboardEvent MakeClipboardEvent(const std::string& mime_type, 25 event.set_mime_type(mime_type);
|
/external/chromium_org/third_party/libjingle/source/talk/media/other/ |
linphonemediaengine.cc | 78 voice_codecs_.push_back(AudioCodec(110, payload_type_speex_wb.mime_type, payload_type_speex_wb.clock_rate, 0, 1, 8)); 79 voice_codecs_.push_back(AudioCodec(111, payload_type_speex_nb.mime_type, payload_type_speex_nb.clock_rate, 0, 1, 7)); 84 voice_codecs_.push_back(AudioCodec(102, payload_type_ilbc.mime_type, payload_type_ilbc.clock_rate, 0, 1, 4)); 87 voice_codecs_.push_back(AudioCodec(0, payload_type_pcmu8000.mime_type, payload_type_pcmu8000.clock_rate, 0, 1, 2)); 88 voice_codecs_.push_back(AudioCodec(101, payload_type_telephone_event.mime_type, payload_type_telephone_event.clock_rate, 0, 1, 1)); 115 if (c.name == payload_type_telephone_event.mime_type) 118 if (c.name == payload_type_speex_wb.mime_type && c.clockrate == payload_type_speex_wb.clock_rate) 120 if (c.name == payload_type_speex_nb.mime_type && c.clockrate == payload_type_speex_nb.clock_rate) 124 if (have_ilbc && c.name == payload_type_ilbc.mime_type) 175 if (engine_->have_ilbc && i->name == payload_type_ilbc.mime_type) { [all...] |
/external/chromium/net/base/ |
platform_mime_util_win.cc | 29 const std::string& mime_type, FilePath::StringType* ext) const { 30 std::wstring key(L"MIME\\Database\\Content Type\\" + UTF8ToWide(mime_type));
|
/external/chromium/net/url_request/ |
url_request_simple_job.cc | 28 bool URLRequestSimpleJob::GetMimeType(std::string* mime_type) const { 29 *mime_type = mime_type_;
|
/external/chromium_org/chrome/browser/extensions/api/file_handlers/ |
app_file_handler_util.h | 36 const std::string& mime_type, 47 const std::string& mime_type,
|
/external/chromium_org/chrome/common/extensions/ |
mime_types_handler.h | 38 void AddMIMEType(const std::string& mime_type); 40 bool CanHandleMIMEType(const std::string& mime_type) const;
|
mime_types_handler.cc | 63 void MimeTypesHandler::AddMIMEType(const std::string& mime_type) { 64 mime_type_set_.insert(mime_type); 67 bool MimeTypesHandler::CanHandleMIMEType(const std::string& mime_type) const { 68 return mime_type_set_.find(mime_type) != mime_type_set_.end();
|
/external/chromium/chrome/browser/download/ |
drag_download_util.h | 33 string16* mime_type,
|
/external/chromium_org/android_webview/native/ |
intercepted_request_data_impl.h | 25 virtual bool GetMimeType(JNIEnv* env, std::string* mime_type) const;
|
/external/chromium_org/chrome/browser/extensions/api/app_runtime/ |
app_runtime_api.h | 53 const std::string& mime_type,
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
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;
|
nacl_modules_handler.h | 24 std::string mime_type; member in struct:extensions::NaClModuleInfo
|
/external/chromium_org/content/browser/ |
histogram_internals_request_job.h | 20 virtual int GetData(std::string* mime_type,
|
/external/chromium_org/content/browser/streams/ |
stream_handle_impl.h | 21 const std::string& mime_type);
|
/external/chromium_org/remoting/host/ |
clipboard_x11.cc | 37 void OnClipboardChanged(const std::string& mime_type, 89 x_server_clipboard_.SetClipboard(event.mime_type(), event.data()); 109 void ClipboardX11::OnClipboardChanged(const std::string& mime_type, 112 event.set_mime_type(mime_type);
|