/external/chromium_org/content/browser/frame_host/ |
H A D | navigator_delegate.h | 74 virtual void SetMainFrameMimeType(const std::string& mime_type) {} argument
|
/external/chromium_org/content/browser/streams/ |
H A D | stream.cc | 165 const std::string& mime_type, 170 mime_type, 163 CreateHandle( const GURL& original_url, const std::string& mime_type, scoped_refptr<net::HttpResponseHeaders> response_headers) argument
|
/external/chromium_org/content/child/npapi/ |
H A D | plugin_lib.cc | 151 PluginInstance* PluginLib::CreateInstance(const std::string& mime_type) { argument 152 PluginInstance* new_instance = new PluginInstance(this, mime_type);
|
/external/chromium_org/content/public/browser/ |
H A D | resource_dispatcher_host_delegate.cc | 53 const std::string& mime_type) { 59 const std::string& mime_type, 51 ShouldForceDownloadResource( const GURL& url, const std::string& mime_type) argument 57 ShouldInterceptResourceAsStream( net::URLRequest* request, const std::string& mime_type, GURL* origin, std::string* payload) argument
|
/external/chromium_org/content/public/test/ |
H A D | mock_download_manager.cc | 18 const std::string& mime_type, 35 mime_type(mime_type), 73 mime_type == rhs.mime_type && 104 const std::string& mime_type, 117 id, current_path, target_path, url_chain, referrer_url, mime_type, 12 CreateDownloadItemAdapter( uint32 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) argument 98 CreateDownloadItem( uint32 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) argument
|
/external/chromium_org/content/renderer/ |
H A D | image_loading_helper.cc | 181 std::string mime_type, char_set, data; local 182 if (net::DataURL::Parse(url, &mime_type, &char_set, &data) && !data.empty()) {
|
/external/chromium_org/content/shell/browser/ |
H A D | shell_download_manager_delegate.cc | 121 const std::string& mime_type, 129 mime_type, 117 GenerateFilename( const GURL& url, const std::string& content_disposition, const std::string& suggested_filename, const std::string& mime_type, const base::FilePath& suggested_directory, const FilenameDeterminedCallback& callback) argument
|
/external/chromium_org/extensions/renderer/guest_view/ |
H A D | guest_view_container.cc | 28 const std::string& mime_type) 29 : content::BrowserPluginDelegate(render_frame, mime_type), 31 mime_type_(mime_type), 26 GuestViewContainer( content::RenderFrame* render_frame, const std::string& mime_type) argument
|
/external/chromium_org/extensions/shell/renderer/ |
H A D | shell_content_renderer_client.cc | 181 const std::string& mime_type) { 182 return new extensions::GuestViewContainer(render_frame, mime_type); 179 CreateBrowserPluginDelegate( content::RenderFrame* render_frame, const std::string& mime_type) argument
|
/external/chromium_org/mojo/services/clipboard/ |
H A D | clipboard_standalone_unittest.cc | 79 bool GetDataOfType(const std::string& mime_type, std::string* data) { argument 84 mime_type, 93 text_data->mime_type = mojo::Clipboard::MIME_TYPE_TEXT; 131 text_data->mime_type = mojo::Clipboard::MIME_TYPE_TEXT; 136 html_data->mime_type = mojo::Clipboard::MIME_TYPE_HTML;
|
/external/chromium_org/net/base/ |
H A D | filename_util_unittest.cc | 30 const char* mime_type; member in struct:net::__anon9005::GenerateFilenameCase 56 test_case->mime_type, default_filename); 266 const char* mime_type; member in struct:net::__anon9006 414 GenerateSafeFileName(safe_tests[i].mime_type, false, &file_path);
|
/external/chromium_org/net/filter/ |
H A D | mock_filter_context.h | 23 void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; } argument 44 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
/external/chromium_org/android_webview/browser/net/ |
H A D | android_stream_reader_url_request_job.cc | 265 std::string* mime_type) const { 278 env, request(), input_stream_reader_wrapper_->input_stream(), mime_type); 318 std::string mime_type; local 319 if (GetMimeType(&mime_type) && !mime_type.empty()) { 322 content_type_header.append(mime_type);
|
/external/chromium_org/android_webview/native/ |
H A D | android_protocol_handler.cc | 73 std::string* mime_type) OVERRIDE; 173 std::string* mime_type) { 176 DCHECK(mime_type); 192 *mime_type = base::android::ConvertJavaStringToUTF8(returned_type); 169 GetMimeType( JNIEnv* env, net::URLRequest* request, android_webview::InputStream* stream, std::string* mime_type) argument
|
/external/chromium_org/apps/ |
H A D | launcher.cc | 201 const std::string mime_type = local 203 mime_types_.push_back(mime_type);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | file_cache.cc | 483 std::string mime_type; local 489 std::string(), &mime_type) || 491 &mime_type)) { 493 if (net::MatchesMimeType("image/*", mime_type)) { 495 } else if (net::MatchesMimeType("video/*", mime_type)) { 497 } else if (net::MatchesMimeType("audio/*", mime_type)) { 504 if (net::GetPreferredExtensionForMimeType(mime_type, &extension)) 507 net::GetExtensionsForMimeType(mime_type, &extensions);
|
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
H A D | external_file_url_request_job.cc | 106 const std::string& mime_type) { 108 mime_type_ = mime_type; 199 const std::string& mime_type) { 211 mime_type_ = mime_type; 287 bool ExternalFileURLRequestJob::GetMimeType(std::string* mime_type) const { 289 mime_type->assign(mime_type_); 290 return !mime_type->empty(); 105 OnGotMimeTypeOnUIThread(Lifetime lifetime, const std::string& mime_type) argument 195 OnHelperResultObtained( net::Error error, const scoped_refptr<storage::FileSystemContext>& file_system_context, const storage::FileSystemURL& file_system_url, const std::string& mime_type) argument
|
/external/chromium_org/chrome/browser/content_settings/ |
H A D | content_settings_browsertest.cc | 507 void RunLoadPepperPluginTest(const char* mime_type, bool expect_loaded) { argument 520 base::StringPrintf("?mimetype=%s", mime_type)); 589 const char* mime_type) { 605 pepper_plugin.append(base::ASCIIToWide(mime_type)); 607 pepper_plugin.append(mime_type); 586 BuildPepperPluginRegistration( const char* library_name, const char* display_name, const char* mime_type) argument
|
/external/chromium_org/chrome/browser/drive/ |
H A D | drive_api_util.cc | 29 const char* mime_type; member in struct:drive::util::__anon3604::HostedDocumentKind 166 content.set_mime_type(file_resource.mime_type()); 313 std::string GetHostedDocumentExtension(const std::string& mime_type) { argument 315 if (mime_type == kHostedDocumentKinds[i].mime_type) 321 bool IsKnownHostedDocumentMimeType(const std::string& mime_type) { argument 323 if (mime_type == kHostedDocumentKinds[i].mime_type)
|
H A D | drive_app_registry.cc | 89 const std::string& mime_type, 99 if (!mime_type.empty()) 100 FindAppsForSelector(mime_type, mimetype_map_, &matched_apps); 87 GetAppsForFile( const base::FilePath::StringType& file_extension, const std::string& mime_type, std::vector<DriveAppInfo>* apps) const argument
|
/external/chromium_org/chrome/browser/extensions/api/file_handlers/ |
H A D | app_file_handler_util.cc | 61 const std::string& mime_type) { 64 if (net::MatchesMimeType(*type, mime_type)) 239 const std::string& mime_type, 247 if (FileHandlerCanHandleFile(*i, mime_type, path)) 282 const std::string& mime_type, 284 return FileHandlerCanHandleFileWithMimeType(handler, mime_type) || 59 FileHandlerCanHandleFileWithMimeType( const FileHandlerInfo& handler, const std::string& mime_type) argument 237 FirstFileHandlerForFile( const Extension& app, const std::string& mime_type, const base::FilePath& path) argument 280 FileHandlerCanHandleFile( const FileHandlerInfo& handler, const std::string& mime_type, const base::FilePath& path) argument
|
/external/chromium_org/chrome/browser/guest_view/web_view/ |
H A D | chrome_web_view_permission_helper_delegate.cc | 103 const std::string& mime_type) { 101 OnFindMissingPlugin( int placeholder_id, const std::string& mime_type) argument
|
/external/chromium_org/chrome/browser/plugins/ |
H A D | plugin_finder.cc | 187 const std::string& mime_type, 198 metadata_it->second->HasMimeType(mime_type)) { 295 metadata->AddMatchingMimeType(plugin.mime_types[i].mime_type); 186 FindPlugin( const std::string& mime_type, const std::string& language, PluginInstaller** installer, scoped_ptr<PluginMetadata>* plugin_metadata) argument
|
H A D | plugin_info_message_filter.cc | 85 static void SendPluginAvailabilityUMA(const std::string& mime_type, argument 89 if (mime_type != kWidevineCdmPluginMimeType) 101 void ReportMetrics(const std::string& mime_type, argument 112 if (StartsWithASCII(mime_type, content::kSilverlightPluginMimeTypePrefix, 119 } else if (mime_type == content::kFlashPluginSwfMimeType || 120 mime_type == content::kFlashPluginSplMimeType) { 193 std::string mime_type; member in struct:PluginInfoMessageFilter::GetPluginInfo_Params 200 const std::string& mime_type, 206 mime_type 222 params.top_origin_url, params.mime_type, 196 OnGetPluginInfo( int render_frame_id, const GURL& url, const GURL& top_origin_url, const std::string& mime_type, IPC::Message* reply_msg) argument 249 OnIsInternalPluginAvailableForMimeType( const std::string& mime_type, bool* is_available, std::vector<base::string16>* additional_param_names, std::vector<base::string16>* additional_param_values) argument 389 FindEnabledPlugin( int render_frame_id, const GURL& url, const GURL& top_origin_url, const std::string& mime_type, ChromeViewHostMsg_GetPluginInfo_Status* status, WebPluginInfo* plugin, std::string* actual_mime_type, scoped_ptr<PluginMetadata>* plugin_metadata) const argument [all...] |
H A D | plugin_info_message_filter_unittest.cc | 93 content::WebPluginMimeType mime_type; variable 94 mime_type.mime_type = "foo/bar"; 95 foo_plugin.mime_types.push_back(mime_type); 104 mime_type.mime_type = "foo/bar"; 105 bar_plugin.mime_types.push_back(mime_type);
|