Searched defs:mime_type (Results 176 - 200 of 214) sorted by relevance

123456789

/external/chromium_org/content/child/npapi/
H A Dplugin_instance.cc31 PluginInstance::PluginInstance(PluginLib* plugin, const std::string& mime_type) argument
40 mime_type_(mime_type),
88 const std::string& mime_type,
403 const std::string& mime_type,
410 CreateStream(static_cast<unsigned long>(-1), url, mime_type, 0);
411 plugin_data_stream_->DidReceiveResponse(mime_type, headers, expected_length,
86 CreateStream(unsigned long resource_id, const GURL& url, const std::string& mime_type, int notify_id) argument
402 DidReceiveManualResponse(const GURL& url, const std::string& mime_type, const std::string& headers, uint32 expected_length, uint32 last_modified) argument
/external/chromium_org/content/child/
H A Dweb_url_loader_impl.cc183 std::string mime_type; local
188 url, &mime_type, &charset, data, headers.get());
193 info->mime_type.swap(mime_type);
539 if (info.mime_type == "text/vnd.chromium.ftp-dir") {
562 if (info.headers.get() && info.mime_type == "multipart/x-mixed-replace") {
566 std::string mime_type; local
570 net::HttpUtil::ParseContentType(content_type, &mime_type, &charset,
580 } else if (info.mime_type == "text/vnd.chromium.ftp-dir" &&
692 std::string mime_type, unused_charse
[all...]
/external/chromium_org/content/shell/renderer/test_runner/
H A Dtest_plugin.cc755 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) { argument
756 return mime_type == TestPlugin::MimeType() ||
757 mime_type == PluginPersistsMimeType() ||
758 mime_type == CanCreateWithoutRendererMimeType();
/external/chromium_org/content/test/
H A Dtest_render_view_host.cc327 void TestRenderViewHost::SetContentsMimeType(const std::string& mime_type) { argument
328 contents_mime_type_ = mime_type;
329 main_render_frame_host_->set_contents_mime_type(mime_type);
/external/chromium_org/google_apis/drive/
H A Ddrive_api_requests.h220 const std::string& mime_type() const { return mime_type_; } function in class:google_apis::drive::FilesInsertRequest
221 void set_mime_type(const std::string& mime_type) { argument
222 mime_type_ = mime_type;
/external/chromium_org/media/base/android/
H A Dmedia_codec_bridge.cc137 std::string mime_type; local
146 ConvertJavaStringToUTF8(env, j_codec_type.obj(), &mime_type);
150 info.codecs = AndroidMimeTypeToCodecType(mime_type);
161 const std::string& mime_type,
167 ScopedJavaLocalRef<jstring> j_mime = ConvertUTF8ToJavaString(env, mime_type);
193 bool MediaCodecBridge::IsKnownUnaccelerated(const std::string& mime_type, argument
200 codec_name = GetDefaultCodecName(mime_type, direction);
202 std::string codec_type = AndroidMimeTypeToCodecType(mime_type);
213 DVLOG(1) << __PRETTY_FUNCTION__ << "Default codec for " << mime_type <<
160 GetDefaultCodecName( const std::string& mime_type, MediaCodecDirection direction) argument
/external/chromium_org/net/http/
H A Dhttp_response_headers_unittest.cc615 const std::string mime_type; member in struct:__anon9308::ContentTypeTestData
637 EXPECT_EQ(test.mime_type, value);
H A Dhttp_util.cc81 std::string* mime_type,
153 // also, if type_val is the same as mime_type, then just update the
154 // charset. however, if charset is empty and mime_type hasn't
162 // Common case here is that mime_type is empty
163 bool eq = !mime_type->empty() && LowerCaseEqualsASCII(begin + type_val,
165 mime_type->data());
167 mime_type->assign(begin + type_val, begin + type_end);
168 base::StringToLowerASCII(mime_type);
80 ParseContentType(const std::string& content_type_str, std::string* mime_type, std::string* charset, bool* had_charset, std::string* boundary) argument
/external/chromium_org/net/ocsp/
H A Dnss_ocsp.cc785 const char* mime_type = ""; local
787 mime_type = req->http_response_content_type().c_str();
789 strcasecmp(mime_type, "application/ocsp-response") == 0;
790 bool is_crl = strcasecmp(mime_type, "application/x-pkcs7-crl") == 0 ||
791 strcasecmp(mime_type, "application/x-x509-crl") == 0 ||
792 strcasecmp(mime_type, "application/pkix-crl") == 0;
794 strcasecmp(mime_type, "application/x-x509-ca-cert") == 0 ||
795 strcasecmp(mime_type, "application/x-x509-server-cert") == 0 ||
796 strcasecmp(mime_type, "application/pkix-cert") == 0 ||
797 strcasecmp(mime_type, "applicatio
[all...]
/external/chromium_org/net/url_request/
H A Durl_request_http_job.cc61 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
92 std::string* mime_type) const {
93 return job_->GetMimeType(mime_type);
946 bool URLRequestHttpJob::GetMimeType(std::string* mime_type) const {
952 return GetResponseHeaders()->GetMimeType(mime_type);
1469 std::string mime_type; local
1470 return GetMimeType(&mime_type) &&
1471 (IsSupportedJavascriptMimeType(mime_type.c_str()) ||
1472 IsSupportedNonImageMimeType(mime_type.c_str()));
/external/flac/libFLAC/
H A Dmetadata_object.c480 FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN + /* empty mime_type string */
490 object->data.picture.mime_type = 0;
500 /* now initialize mime_type and description with empty strings to make things easier on the client */
501 if(!copy_cstring_(&object->data.picture.mime_type, "")) {
506 if(object->data.picture.mime_type)
507 free(object->data.picture.mime_type);
601 if(!copy_cstring_(&to->data.picture.mime_type, object->data.picture.mime_type)) {
668 if(0 != object->data.picture.mime_type) {
669 free(object->data.picture.mime_type);
1721 FLAC__metadata_object_picture_set_mime_type(FLAC__StreamMetadata *object, char *mime_type, FLAC__bool copy) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_manager_browsertest.cc132 const std::string& mime_type,
138 mime_type(mime_type),
146 std::string mime_type; member in struct:file_manager::__anon3165::TestEntryInfo
164 converter->RegisterStringField("mimeType", &TestEntryInfo::mime_type);
367 entry.mime_type,
408 const std::string& mime_type,
423 mime_type,
129 TestEntryInfo(EntryType type, const std::string& source_file_name, const std::string& target_path, const std::string& mime_type, SharedOption shared_option, const base::Time& last_modified_time) argument
405 CreateFile(const std::string& source_file_name, const std::string& parent_id, const std::string& target_name, const std::string& mime_type, bool shared_with_me, const base::Time& modification_time) argument
/external/chromium_org/chrome/browser/download/
H A Ddownload_browsertest.cc1240 const char* mime_type = mime_types[i]; local
1242 GURL url(test_server()->GetURL(path + mime_type));
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
H A Dmedia_galleries_api.cc960 std::string mime_type; local
962 blob_header->c_str(), blob_header->size(), &mime_type);
971 metadata.mime_type = mime_type;
988 total_blob_length, mime_type,
/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor.cc207 std::string mime_type; local
208 response->GetMimeType(&mime_type);
209 if (!mime_type.empty() &&
210 !net::IsSupportedImageMimeType(mime_type.c_str()) &&
211 !net::IsSupportedJavascriptMimeType(mime_type.c_str()) &&
212 !net::MatchesMimeType("text/css", mime_type)) {
256 const std::string& mime_type,
258 if (net::IsSupportedImageMimeType(mime_type.c_str()))
260 else if (net::IsSupportedJavascriptMimeType(mime_type.c_str()))
262 else if (net::MatchesMimeType("text/css", mime_type))
255 GetResourceTypeFromMimeType( const std::string& mime_type, content::ResourceType fallback) argument
[all...]
/external/chromium_org/chrome/renderer/
H A Dchrome_content_renderer_client.cc651 if (plugin.mime_types[i].mime_type == actual_mime_type) {
947 if (plugin.mime_types[i].mime_type == actual_mime_type) {
1569 const std::string& mime_type) {
1571 return new extensions::GuestViewContainer(render_frame, mime_type);
1567 CreateBrowserPluginDelegate( content::RenderFrame* render_frame, const std::string& mime_type) argument
/external/chromium_org/components/nacl/renderer/
H A Dppb_nacl_private_impl.cc841 std::string mime_type; local
845 if (net::DataURL::Parse(gurl, &mime_type, &charset, &data)) {
/external/chromium_org/content/browser/download/
H A Ddownload_item_impl.cc116 const std::string& mime_type,
138 mime_type_(mime_type),
189 mime_type_(info.mime_type),
234 const std::string& mime_type,
247 mime_type_(mime_type),
248 original_mime_type_(mime_type),
110 DownloadItemImpl(DownloadItemImplDelegate* delegate, uint32 download_id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened, const net::BoundNetLog& bound_net_log) argument
229 DownloadItemImpl( DownloadItemImplDelegate* delegate, uint32 download_id, const base::FilePath& path, const GURL& url, const std::string& mime_type, scoped_ptr<DownloadRequestHandleInterface> request_handle, const net::BoundNetLog& bound_net_log) argument
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_controller_impl.cc485 const std::string& mime_type = delegate_->GetContentsMimeType(); local
486 bool is_viewable_mime_type = net::IsSupportedNonImageMimeType(mime_type) &&
487 !net::IsSupportedMediaMimeType(mime_type);
/external/chromium_org/content/browser/loader/
H A Dresource_dispatcher_host_impl.cc700 const std::string& mime_type = response->head.mime_type; local
705 mime_type,
724 mime_type,
/external/chromium_org/content/browser/renderer_host/
H A Drender_message_filter.cc257 if (info_.mime_types[i].mime_type == kFlashPluginSwfMimeType)
745 const std::string& mime_type,
752 url, page_url, mime_type, allow_wildcard,
759 const std::string& mime_type,
767 url, policy_url, mime_type, client);
741 OnGetPluginInfo( int render_frame_id, const GURL& url, const GURL& page_url, const std::string& mime_type, bool* found, WebPluginInfo* info, std::string* actual_mime_type) argument
756 OnOpenChannelToPlugin(int render_frame_id, const GURL& url, const GURL& policy_url, const std::string& mime_type, IPC::Message* reply_msg) argument
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura.cc247 base::string16 mime_type; local
251 &mime_type,
264 base::UTF16ToUTF8(mime_type),
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_delegate_proxy.cc128 virtual void DidReceiveResponse(const std::string& mime_type,
136 params.mime_type = mime_type;
199 const std::string& mime_type,
212 mime_type_(mime_type),
403 const GURL& url, const std::string& mime_type,
408 params.mime_type = mime_type;
1225 if (index->mime_type == "application/x-vnd.moveplayer.qm" ||
1226 index->mime_type
197 WebPluginDelegateProxy( WebPluginImpl* plugin, const std::string& mime_type, const base::WeakPtr<RenderViewImpl>& render_view, RenderFrameImpl* render_frame) argument
402 DidReceiveManualResponse( const GURL& url, const std::string& mime_type, const std::string& headers, uint32 expected_length, uint32 last_modified) argument
[all...]
H A Dwebplugin_impl.cc186 std::string mime_type; member in struct:content::__anon7777::ResponseInfo
194 response_info->mime_type = response.mimeType().utf8();
431 response_info.mime_type,
1038 response_info.mime_type,
/external/chromium_org/content/renderer/
H A Drenderer_webkitplatformsupport_impl.cc162 const blink::WebString& mime_type,
165 virtual bool supportsMediaSourceMIMEType(const blink::WebString& mime_type,
168 const WebString& mime_type,
394 const WebString& mime_type,
397 const std::string mime_type_ascii = ToASCIIOrEmpty(mime_type);
403 // Check whether the key system is supported with the mime_type and codecs.
419 // Continue processing the mime_type and codecs.
443 const blink::WebString& mime_type,
445 const std::string mime_type_ascii = ToASCIIOrEmpty(mime_type);
457 const WebString& mime_type,
393 supportsMediaMIMEType( const WebString& mime_type, const WebString& codecs, const WebString& key_system) argument
442 supportsMediaSourceMIMEType( const blink::WebString& mime_type, const WebString& codecs) argument
455 supportsEncryptedMediaMIMEType( const WebString& key_system, const WebString& mime_type, const WebString& codecs) argument
796 const WebPluginMimeType& mime_type = plugin.mime_types[j]; local
[all...]

Completed in 3566 milliseconds

123456789