Searched defs:mime_type (Results 1 - 25 of 214) sorted by relevance

123456789

/external/chromium_org/chrome/browser/tab_contents/
H A Dview_source_browsertest.cc88 const char* mime_type = browser()->tab_strip_model()->GetActiveWebContents()-> local
91 EXPECT_STREQ("audio/wav", mime_type);
/external/chromium_org/components/metrics/
H A Dmetrics_log_uploader.cc11 const std::string& mime_type,
14 mime_type_(mime_type),
9 MetricsLogUploader( const std::string& server_url, const std::string& mime_type, const base::Callback<void(int)>& on_upload_complete) argument
/external/chromium_org/net/url_request/
H A Durl_request_data_job_unittest.cc18 std::string mime_type; local
27 GURL("data:,Hello"), &mime_type, &charset, &data, headers.get()));
29 EXPECT_EQ("text/plain", mime_type);
47 std::string mime_type; local
56 GURL("bogus"), &mime_type, &charset, &data, headers.get()));
60 std::string mime_type; local
72 &mime_type, &charset, &data, headers.get()));
80 std::string mime_type; local
91 &mime_type, &charset, &data, headers.get()));
/external/chromium_org/chrome/browser/download/
H A Ddownload_target_info.h49 std::string mime_type; member in struct:DownloadTargetInfo
H A Ddownload_extensions.cc250 bool IsExecutableMimeType(const std::string& mime_type) { argument
252 if (net::MatchesMimeType(kExecutableWhiteList[i], mime_type))
256 if (net::MatchesMimeType(kExecutableBlackList[i], mime_type))
260 return net::MatchesMimeType("application/*", mime_type);
/external/chromium_org/content/browser/
H A Dplugin_data_remover_impl.h28 void set_mime_type(const std::string& mime_type) { mime_type_ = mime_type; } argument
H A Dhistogram_internals_request_job.cc58 std::string* mime_type,
62 mime_type->assign("text/html");
57 GetData( std::string* mime_type, std::string* charset, std::string* data, const net::CompletionCallback& callback) const argument
H A Dmime_registry_message_filter.cc39 const base::FilePath::StringType& ext, std::string* mime_type) {
40 net::GetMimeTypeFromExtension(ext, mime_type);
44 const base::FilePath& file_path, std::string* mime_type) {
45 net::GetMimeTypeFromFile(file_path, mime_type);
38 OnGetMimeTypeFromExtension( const base::FilePath::StringType& ext, std::string* mime_type) argument
43 OnGetMimeTypeFromFile( const base::FilePath& file_path, std::string* mime_type) argument
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_file_system_browser_host_unittest.cc36 std::string GeneratePluginId(const std::string& mime_type) { argument
37 return host_->GeneratePluginId(mime_type);
73 EXPECT_EQ("application_mime_type", GeneratePluginId("application/mime_type"));
/external/chromium_org/content/public/browser/
H A Dload_from_memory_cache_details.h22 const std::string& mime_type,
31 std::string mime_type; member in struct:content::LoadFromMemoryCacheDetails
H A Dload_from_memory_cache_details.cc15 const std::string& mime_type,
22 mime_type(mime_type),
9 LoadFromMemoryCacheDetails( const GURL& url, int pid, int cert_id, net::CertStatus cert_status, const std::string& http_method, const std::string& mime_type, ResourceType resource_type) argument
/external/chromium_org/extensions/common/manifest_handlers/
H A Dnacl_modules_handler.h24 std::string mime_type; member in struct:extensions::NaClModuleInfo
/external/chromium_org/net/base/
H A Ddata_url_unittest.cc15 const char* mime_type; member in struct:__anon8992::ParseTestData
66 // Allow invalid mediatype for backward compatibility but set mime_type to
191 std::string mime_type; local
195 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data);
198 EXPECT_EQ(tests[i].mime_type, mime_type);
H A Dplatform_mime_util_linux.cc58 const char* mime_type; member in struct:net::MimeToExt
78 const std::string& mime_type, base::FilePath::StringType* ext) const {
83 if (mime_type_ext_map[x].mime_type == mime_type) {
103 const std::string& mime_type,
106 if (GetPreferredExtensionForMimeType(mime_type, &ext))
77 GetPreferredExtensionForMimeType( const std::string& mime_type, base::FilePath::StringType* ext) const argument
102 GetPlatformExtensionsForMimeType( const std::string& mime_type, base::hash_set<base::FilePath::StringType>* extensions) const argument
H A Dplatform_mime_util_win.cc29 const std::string& mime_type, base::FilePath::StringType* ext) const {
31 L"MIME\\Database\\Content Type\\" + base::UTF8ToWide(mime_type));
44 const std::string& mime_type,
51 if (GetPreferredExtensionForMimeType(mime_type, &ext))
28 GetPreferredExtensionForMimeType( const std::string& mime_type, base::FilePath::StringType* ext) const argument
43 GetPlatformExtensionsForMimeType( const std::string& mime_type, base::hash_set<base::FilePath::StringType>* extensions) const argument
/external/chromium_org/remoting/protocol/
H A Dclipboard_filter_unittest.cc17 MATCHER_P2(EqualsClipboardEvent, mime_type, data, "") {
18 return arg.mime_type() == mime_type && arg.data() == data;
21 static ClipboardEvent MakeClipboardEvent(const std::string& mime_type, argument
24 event.set_mime_type(mime_type);
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dwrite_on_cache_file.cc51 const std::string& mime_type,
53 WriteOnCacheFileAndReply(file_system, path, mime_type, callback,
59 const std::string& mime_type,
70 mime_type,
49 WriteOnCacheFile(FileSystemInterface* file_system, const base::FilePath& path, const std::string& mime_type, const WriteOnCacheFileCallback& callback) argument
57 WriteOnCacheFileAndReply(FileSystemInterface* file_system, const base::FilePath& path, const std::string& mime_type, const WriteOnCacheFileCallback& callback, const FileOperationCallback& reply) argument
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dsupported_audio_video_checker.cc29 std::string mime_type; local
30 if (net::GetWellKnownMimeTypeFromExtension(extensions[i], &mime_type) &&
31 net::IsSupportedMimeType(mime_type)) {
/external/chromium_org/components/metrics/net/
H A Dnet_metrics_log_uploader.cc17 const std::string& mime_type,
19 : MetricsLogUploader(server_url, mime_type, on_upload_complete),
14 NetMetricsLogUploader( net::URLRequestContextGetter* request_context_getter, const std::string& server_url, const std::string& mime_type, const base::Callback<void(int)>& on_upload_complete) argument
/external/chromium_org/components/search_provider_logos/
H A Dlogo_common.h31 std::string mime_type; member in struct:search_provider_logos::LogoMetadata
/external/chromium_org/content/browser/speech/
H A Daudio_encoder.h44 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/browser/streams/
H A Dstream_handle_impl.cc27 const std::string& mime_type,
32 mime_type_(mime_type),
24 StreamHandleImpl( const base::WeakPtr<Stream>& stream, const GURL& original_url, const std::string& mime_type, scoped_refptr<net::HttpResponseHeaders> response_headers) argument
/external/chromium_org/content/child/npapi/
H A Dplugin_string_stream.cc23 const std::string &mime_type) {
29 if (Open(mime_type, std::string(), length, 0, false)) {
22 SendToPlugin(const std::string &data, const std::string &mime_type) argument
/external/chromium_org/content/public/renderer/
H A Dbrowser_plugin_delegate.h22 const std::string& mime_type) {}
21 BrowserPluginDelegate(RenderFrame* render_frame, const std::string& mime_type) argument
/external/chromium_org/content/test/
H A Dtest_render_frame_host.h89 void set_contents_mime_type(const std::string& mime_type) { argument
90 contents_mime_type_ = mime_type;

Completed in 531 milliseconds

123456789