Home
last modified time | relevance | path

Searched refs:download_params (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dwrite_from_url_operation.cc92 scoped_ptr<content::DownloadUrlParameters> download_params( in DownloadStart() local
100 download_params->set_file_path(*tmp_file_); in DownloadStart()
103 download_params->set_callback( in DownloadStart()
108 download_manager->DownloadUrl(download_params.Pass()); in DownloadStart()
/external/chromium_org/chrome_frame/
Dchrome_frame_activex_base.h467 DownloadInHostParams* download_params = in OnDownloadRequestInHost() local
469 DCHECK(download_params); in OnDownloadRequestInHost()
474 if (download_params->moniker) { in OnDownloadRequestInHost()
476 doc_site_, download_params->moniker, in OnDownloadRequestInHost()
477 UTF8ToWide(download_params->request_headers).c_str(), in OnDownloadRequestInHost()
478 download_params->bind_ctx, NULL, download_params->post_data, in OnDownloadRequestInHost()
481 delete download_params; in OnDownloadRequestInHost() local
Durlmon_url_request.cc1198 DownloadInHostParams* download_params = new DownloadInHostParams; in BindTerminated() local
1199 download_params->bind_ctx = bind_ctx; in BindTerminated()
1200 download_params->moniker = moniker; in BindTerminated()
1201 download_params->post_data = post_data; in BindTerminated()
1203 download_params->request_headers = request_headers; in BindTerminated()
1206 reinterpret_cast<WPARAM>(download_params), 0); in BindTerminated()
/external/chromium_org/content/browser/download/
Ddownload_item_impl.cc1668 scoped_ptr<DownloadUrlParameters> download_params( in ResumeInterruptedDownload() local
1672 download_params->set_file_path(GetFullPath()); in ResumeInterruptedDownload()
1673 download_params->set_offset(GetReceivedBytes()); in ResumeInterruptedDownload()
1674 download_params->set_hash_state(GetHashState()); in ResumeInterruptedDownload()
1675 download_params->set_last_modified(GetLastModifiedTime()); in ResumeInterruptedDownload()
1676 download_params->set_etag(GetETag()); in ResumeInterruptedDownload()
1677 download_params->set_callback( in ResumeInterruptedDownload()
1681 delegate_->ResumeInterruptedDownload(download_params.Pass(), GetId()); in ResumeInterruptedDownload()
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api.cc973 scoped_ptr<content::DownloadUrlParameters> download_params( in RunImpl() local
1001 download_params->set_prompt(*options.save_as.get()); in RunImpl()
1014 download_params->add_request_header(name_value.name, name_value.value); in RunImpl()
1021 download_params->set_method(method_string); in RunImpl()
1023 download_params->set_post_body(*options.body.get()); in RunImpl()
1024 download_params->set_callback(base::Bind( in RunImpl()
1028 download_params->set_load_flags(net::LOAD_DO_NOT_PROMPT_FOR_LOGIN); in RunImpl()
1032 manager->DownloadUrl(download_params.Pass()); in RunImpl()