/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | fake_file_system.cc | 56 const std::string& mime_type, 90 const std::string& mime_type, 54 OpenFile(const base::FilePath& file_path, OpenMode open_mode, const std::string& mime_type, const OpenFileCallback& callback) argument 88 CreateFile(const base::FilePath& file_path, bool is_exclusive, const std::string& mime_type, const FileOperationCallback& callback) argument
|
H A D | file_system.cc | 480 const std::string& mime_type, 485 file_path, is_exclusive, mime_type, callback); 970 const std::string& mime_type, 975 open_file_operation_->OpenFile(file_path, open_mode, mime_type, callback); 478 CreateFile(const base::FilePath& file_path, bool is_exclusive, const std::string& mime_type, const FileOperationCallback& callback) argument 968 OpenFile(const base::FilePath& file_path, OpenMode open_mode, const std::string& mime_type, const OpenFileCallback& callback) argument
|
/external/chromium_org/chrome/browser/download/ |
H A D | chrome_download_manager_delegate.cc | 167 std::string mime_type; local 168 net::GetMimeTypeFromFile(path, &mime_type); 169 return mime_type;
|
H A D | download_history_unittest.cc | 45 EXPECT_EQ(left.mime_type, right.mime_type); 242 infos->at(index).mime_type, 380 const std::string& mime_type, 405 info->mime_type = mime_type; 431 EXPECT_CALL(item(index), GetMimeType()).WillRepeatedly(Return(mime_type)); 374 InitItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer, 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, content::DownloadItem::DownloadState state, content::DownloadDangerType danger_type, content::DownloadInterruptReason interrupt_reason, bool opened, const std::string& by_extension_id, const std::string& by_extension_name, history::DownloadRow* info) argument
|
H A D | download_target_determiner.cc | 396 const std::string& mime_type) { 398 DVLOG(20) << "MIME type: " << mime_type; 401 mime_type_ = mime_type; 423 const std::string& mime_type, 427 DCHECK(!mime_type.empty()); 437 url, GURL(), mime_type, 450 mime_type, 727 target_info->mime_type = mime_type_; 395 DetermineMimeTypeDone( const std::string& mime_type) argument 421 IsHandledBySafePlugin(content::ResourceContext* resource_context, const GURL& url, const std::string& mime_type, ActionOnStalePluginList stale_plugin_action, const base::Callback<void(bool)>& callback) argument
|
H A D | download_target_determiner_unittest.cc | 115 const char* mime_type; member in struct:__anon3598::DownloadTestCase 311 .WillByDefault(Return(test_case.mime_type)); 1920 EXPECT_EQ(test_case.expected_mime_type, target_info->mime_type); 1971 const char* mime_type, 1975 content::WebPluginMimeType plugin_mime_type(mime_type, 1968 ScopedRegisterInternalPlugin(content::PluginService* plugin_service, content::WebPluginInfo::PluginType type, const base::FilePath& path, const char* mime_type, const char* extension) argument
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | browser_tab_strip_controller.cc | 80 std::string mime_type; local 81 net::GetMimeTypeFromFile(full_path, &mime_type); 83 return mime_type; 577 const std::string& mime_type) { 585 mime_type.empty() || 586 net::IsSupportedMimeType(mime_type) || 591 url, GURL(), mime_type, false, 575 OnFindURLMimeTypeCompleted( const GURL& url, const std::string& mime_type) argument
|
/external/chromium_org/chrome/service/cloud_print/ |
H A D | cloud_print_connector.cc | 348 const std::string& mime_type, 354 type, url, this, max_retries, mime_type, post_data, std::string()); 368 std::string mime_type("multipart/form-data; boundary="); 369 mime_type += mime_boundary; 372 CloudPrintURLFetcher::REQUEST_USER_MESSAGE, url, this, 1, mime_type, 642 std::string mime_type("multipart/form-data; boundary="); 643 mime_type += mime_boundary; 647 kCloudPrintAPIMaxRetryCount, mime_type, post_data, 344 StartPostRequest( CloudPrintURLFetcher::RequestType type, const GURL& url, int max_retries, const std::string& mime_type, const std::string& post_data, ResponseHandler handler) argument
|
H A D | printer_job_handler.cc | 357 std::string mime_type; local 358 source->GetResponseHeaders()->GetMimeType(&mime_type); 360 mime_type)) { 364 job_details_.print_ticket_mime_type_ = mime_type; 761 std::string mime_type("multipart/form-data; boundary="); 762 mime_type += mime_boundary; 771 mime_type,
|
/external/chromium_org/components/search_provider_logos/ |
H A D | logo_tracker_unittest.cc | 100 logo.metadata.mime_type = "image/png"; 113 logo.metadata.mime_type = "image/png"; 121 const std::string& mime_type, 131 dict.SetString("update.logo.mime_type", mime_type); 146 logo.metadata.mime_type, 430 "\",\"mime_type\":\"image/png\"}}}"; 117 MakeServerResponse( const SkBitmap& image, const std::string& on_click_url, const std::string& alt_text, const std::string& mime_type, const std::string& fingerprint, base::TimeDelta time_to_live) argument
|
/external/chromium_org/content/browser/download/ |
H A D | download_manager_impl.cc | 172 const std::string& mime_type, 192 mime_type, 220 const std::string& mime_type, 224 mime_type, request_handle.Pass(), 484 const std::string& mime_type, 493 mime_type, 501 const std::string& mime_type, 515 mime_type, 626 const std::string& mime_type, 649 mime_type, 481 CreateSavePackageDownloadItem( const base::FilePath& main_file_path, const GURL& page_url, const std::string& mime_type, scoped_ptr<DownloadRequestHandleInterface> request_handle, const DownloadItemImplCreated& item_created) argument 498 CreateSavePackageDownloadItemWithId( const base::FilePath& main_file_path, const GURL& page_url, const std::string& mime_type, scoped_ptr<DownloadRequestHandleInterface> request_handle, const DownloadItemImplCreated& item_created, uint32 id) argument 620 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 [all...] |
H A D | download_manager_impl_unittest.cc | 239 const std::string& mime_type, 262 const std::string& mime_type, 306 const std::string& mime_type, 353 const std::string& mime_type, 299 CreatePersistedItem( 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 348 CreateSavePageItem( 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
|
H A D | download_stats.cc | 390 const char* mime_type; member in struct:content::__anon7084::MimeTypeToDownloadContent 423 const char* mime_type; member in struct:content::__anon7084::MimeTypeToDownloadImage 442 if (mime_type_string == entry.mime_type) { 461 if (mime_type_string == entry.mime_type) {
|
H A D | save_package.cc | 1257 std::string mime_type; local 1258 if (!net::GetMimeTypeFromExtension(ext, &mime_type) || 1259 !CanSaveAsComplete(mime_type)) { 1273 std::string mime_type; local 1275 !net::GetMimeTypeFromExtension(ext, &mime_type)) { 1286 const base::FilePath::CharType *mime_type; member in struct:content::__anon7090 1296 base::FilePath::StringType mime_type(contents_mime_type); 1298 base::FilePath::StringType mime_type(base::UTF8ToWide(contents_mime_type)); 1301 if (mime_type == extensions[i].mime_type) 1318 std::string mime_type = web_contents()->GetContentsMimeType(); local 1330 CreateDirectoryOnFileThread( const base::FilePath& website_save_dir, const base::FilePath& download_save_dir, bool skip_dir_check, const std::string& mime_type, const std::string& accept_langs) argument [all...] |
/external/chromium_org/content/browser/webui/ |
H A D | url_data_manager_backend.cc | 114 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; 118 // Used to notify that the requested data's |mime_type| is ready. 119 void MimeTypeAvailable(const std::string& mime_type); 125 void set_mime_type(const std::string& mime_type) { argument 126 mime_type_ = mime_type; 258 bool URLRequestChromeJob::GetMimeType(std::string* mime_type) const { 259 *mime_type = mime_type_; 298 void URLRequestChromeJob::MimeTypeAvailable(const std::string& mime_type) { argument 299 set_mime_type(mime_type); 413 std::string mime_type local [all...] |
/external/chromium_org/content/child/ |
H A D | blink_platform_impl.cc | 453 std::string mime_type, char_set, data; local 454 if (net::DataURL::Parse(url, &mime_type, &char_set, &data) 455 && net::IsSupportedMimeType(mime_type)) { 456 mimetype_out = WebString::fromUTF8(mime_type);
|
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | web_frame_test_proxy.h | 53 const blink::WebString& mime_type) { 58 return mime_type.utf8().find(suffix.utf8()) != std::string::npos; 52 canCreatePluginWithoutRenderer( const blink::WebString& mime_type) argument
|
/external/chromium_org/extensions/browser/api/declarative_webrequest/ |
H A D | webrequest_condition_attribute.cc | 260 std::string mime_type; local 264 content_type, &mime_type, &charset, &had_charset, NULL); 268 mime_type) != content_types_.end(); 271 mime_type) == content_types_.end();
|
/external/chromium_org/native_client_sdk/src/examples/demo/drive/ |
H A D | drive.cc | 215 std::string mime_type; member in struct:InsertFileParams 232 if (!params.mime_type.empty()) 233 value["mimeType"] = Json::Value(params.mime_type); 245 result += params.mime_type; 487 p.mime_type = "text/plain"; 505 p.mime_type = "text/plain";
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | customization_document.cc | 615 std::string mime_type; local 619 source->GetResponseHeaders()->GetMimeType(&mime_type) && 620 mime_type == "application/json" &&
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | about_ui.cc | 175 std::string mime_type; local 179 !eula_fetcher_->GetResponseHeaders()->GetMimeType(&mime_type) || 180 mime_type != "text/html" ||
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
H A D | wallet_client.cc | 528 const std::string& mime_type, 537 request_->SetUploadData(mime_type, post_body); 526 MakeWalletRequest(const GURL& url, const std::string& post_body, const std::string& mime_type, RequestType request_type) argument
|
/external/chromium_org/content/browser/appcache/ |
H A D | appcache_update_job.cc | 528 std::string mime_type; local 529 request->GetMimeType(&mime_type); 530 manifest_has_valid_mime_type_ = (mime_type == "text/cache-manifest");
|
/external/chromium_org/content/browser/devtools/ |
H A D | devtools_http_handler_impl.cc | 349 std::string mime_type = GetMimeType(filename); local 356 server_->Send200(connection_id, data, mime_type); 364 server_->Send200(connection_id, data.as_string(), mime_type); 807 const std::string& mime_type) { 816 mime_type)); 805 Send200(int connection_id, const std::string& data, const std::string& mime_type) argument
|
/external/chromium_org/content/browser/ |
H A D | plugin_service_impl.cc | 396 const std::string& mime_type, 411 base::Unretained(this), params, url, mime_type, client)); 453 const std::string& mime_type, 458 mime_type, client, params.resource_context); 466 const std::string& mime_type, 473 url, page_url, mime_type, allow_wildcard, 512 const std::string& mime_type, 518 url, mime_type, allow_wildcard, &use_stale, NPAPIPluginsSupported(), 528 const std::string& mime_type, 536 url, mime_type, allow_wildcar 391 OpenChannelToNpapiPlugin( int render_process_id, int render_frame_id, const GURL& url, const GURL& page_url, const std::string& mime_type, PluginProcessHost::Client* client) argument 450 ForwardGetAllowedPluginForOpenChannelToPlugin( const PluginServiceFilterParams& params, const GURL& url, const std::string& mime_type, PluginProcessHost::Client* client, const std::vector<WebPluginInfo>&) argument 461 GetAllowedPluginForOpenChannelToPlugin( int render_process_id, int render_frame_id, const GURL& url, const GURL& page_url, const std::string& mime_type, PluginProcessHost::Client* client, ResourceContext* resource_context) argument 510 GetPluginInfoArray( const GURL& url, const std::string& mime_type, bool allow_wildcard, std::vector<WebPluginInfo>* plugins, std::vector<std::string>* actual_mime_types) argument 523 GetPluginInfo(int render_process_id, int render_frame_id, ResourceContext* context, const GURL& url, const GURL& page_url, const std::string& mime_type, bool allow_wildcard, bool* is_stale, WebPluginInfo* info, std::string* actual_mime_type) argument [all...] |