Searched refs:download_id (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/content/browser/download/
H A Ddownload_create_info.cc22 download_id(DownloadItem::kInvalidId),
30 download_id(DownloadItem::kInvalidId),
41 " download_id = %u"
46 download_id,
H A Ddownload_item_factory.h42 uint32 download_id,
63 uint32 download_id,
69 uint32 download_id,
H A Ddownload_manager_impl.cc52 uint32 download_id) {
132 download_id,
167 uint32 download_id,
187 download_id,
209 uint32 download_id,
212 return new DownloadItemImpl(delegate, download_id, info, bound_net_log);
217 uint32 download_id,
223 return new DownloadItemImpl(delegate, download_id, path, url,
363 uint32 download_id = info->download_id; local
51 BeginDownload(scoped_ptr<DownloadUrlParameters> params, uint32 download_id) argument
468 OnFileExistenceChecked(uint32 download_id, bool result) argument
694 GetDownload(uint32 download_id) argument
[all...]
H A Ddownload_create_info.h61 uint32 download_id; member in struct:content::DownloadCreateInfo
H A Ddownload_manager_impl_unittest.cc234 uint32 download_id,
254 uint32 download_id,
259 uint32 download_id,
301 uint32 download_id,
319 DCHECK(items_.find(download_id) == items_.end());
323 .WillRepeatedly(Return(download_id));
324 items_[download_id] = result;
330 uint32 download_id,
333 DCHECK(items_.find(download_id) == items_.end());
338 .WillRepeatedly(Return(download_id));
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
328 CreateActiveItem( DownloadItemImplDelegate* delegate, uint32 download_id, const DownloadCreateInfo& info, 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
[all...]
/external/chromium_org/content/public/browser/android/
H A Ddownload_controller_android.h39 WebContents* web_contents, int download_id, bool accept) = 0;
/external/chromium_org/chrome/browser/extensions/api/downloads_internal/
H A Ddownloads_internal_api.cc32 params->download_id,
/external/chromium_org/content/shell/browser/
H A Dshell_download_manager_delegate.h49 void OnDownloadPathGenerated(uint32 download_id,
52 void ChooseDownloadPath(uint32 download_id,
H A Dshell_download_manager_delegate.cc141 uint32 download_id,
153 ChooseDownloadPath(download_id, callback, suggested_path);
157 uint32 download_id,
161 DownloadItem* item = download_manager_->GetDownload(download_id);
140 OnDownloadPathGenerated( uint32 download_id, const DownloadTargetCallback& callback, const base::FilePath& suggested_path) argument
156 ChooseDownloadPath( uint32 download_id, const DownloadTargetCallback& callback, const base::FilePath& suggested_path) argument
/external/chromium_org/content/public/browser/
H A Dresource_dispatcher_host.h44 // generated request. If |download_id| is invalid, a download id will be
59 uint32 download_id,
/external/chromium_org/chrome/browser/download/
H A Ddownload_history.cc297 uint32 download_id = item->GetId(); local
299 bool removing = removing_ids_.find(download_id) != removing_ids_.end();
318 download_id));
323 void DownloadHistory::ItemAdded(uint32 download_id, bool success) { argument
324 if (removed_while_adding_.find(download_id) !=
326 removed_while_adding_.erase(download_id);
328 ScheduleRemoveDownload(download_id);
336 download_id);
340 // OnDownloadRemoved(), which would have put |download_id| in
351 DVLOG(20) << __FUNCTION__ << " INSERT failed id=" << download_id; local
446 ScheduleRemoveDownload(uint32 download_id) argument
[all...]
H A Ddownload_shelf.h187 void ShowDownloadById(int32 download_id);
H A Dchrome_download_manager_delegate.h153 uint32 download_id,
161 uint32 download_id,
169 int32 download_id,
H A Dchrome_download_manager_delegate.cc335 uint32 download_id,
337 DownloadItem* item = download_manager_->GetDownload(download_id);
624 uint32 download_id,
626 DownloadItem* item = download_manager_->GetDownload(download_id);
692 int32 download_id,
696 DownloadItem* item = download_manager_->GetDownload(download_id);
334 ShouldCompleteDownloadInternal( uint32 download_id, const base::Closure& user_complete_callback) argument
623 CheckClientDownloadDone( uint32 download_id, DownloadProtectionService::DownloadCheckResult result) argument
691 OnDownloadTargetDetermined( int32 download_id, const content::DownloadTargetCallback& callback, scoped_ptr<DownloadTargetInfo> target_info) argument
H A Ddownload_history.h124 void ScheduleRemoveDownload(uint32 download_id);
H A Ddownload_shelf.cc354 void DownloadShelf::ShowDownloadById(int32 download_id) { argument
359 DownloadItem* download = download_manager->GetDownload(download_id);
/external/chromium_org/content/public/test/
H A Ddownload_test_observer.h120 void AcceptDangerousDownload(uint32 download_id);
123 void DenyDangerousDownload(uint32 download_id);
284 uint32 download_id() const { return download_id_; } function in class:content::DownloadTestItemCreationObserver
H A Ddownload_test_observer.cc222 void DownloadTestObserver::AcceptDangerousDownload(uint32 download_id) { argument
227 DownloadItem* download = download_manager_->GetDownload(download_id);
232 void DownloadTestObserver::DenyDangerousDownload(uint32 download_id) { argument
237 DownloadItem* download = download_manager_->GetDownload(download_id);
/external/chromium_org/chrome/browser/ui/webui/
H A Ddownloads_dom_handler.h124 void DangerPromptDone(int download_id, DownloadDangerPrompt::Action action);
H A Ddownloads_dom_handler.cc543 int download_id, DownloadDangerPrompt::Action action) {
548 item = main_notifier_.GetManager()->GetDownload(download_id);
550 item = original_notifier_->GetManager()->GetDownload(download_id);
566 int download_id = -1; local
567 if (!ExtractIntegerValue(args, &download_id))
571 item = main_notifier_.GetManager()->GetDownload(download_id);
573 item = original_notifier_->GetManager()->GetDownload(download_id);
542 DangerPromptDone( int download_id, DownloadDangerPrompt::Action action) argument
/external/chromium_org/chrome/browser/extensions/api/downloads/
H A Ddownloads_api.cc1135 uint32 download_id = download_item->GetId(); local
1137 (incognito_manager->GetDownload(download_id) != NULL));
1158 GetDownload(GetProfile(), include_incognito(), params->download_id);
1179 GetDownload(GetProfile(), include_incognito(), params->download_id);
1200 GetDownload(GetProfile(), include_incognito(), params->download_id);
1252 GetDownload(GetProfile(), include_incognito(), params->download_id);
1284 PromptOrWait(params->download_id, 10);
1288 void DownloadsAcceptDangerFunction::PromptOrWait(int download_id, int retries) { argument
1290 GetDownload(GetProfile(), include_incognito(), download_id);
1307 this, download_id, retrie
1330 DangerPromptCallback( int download_id, DownloadDangerPrompt::Action action) argument
1701 DetermineFilename( Profile* profile, bool include_incognito, const std::string& ext_id, int download_id, const base::FilePath& const_filename, downloads::FilenameConflictAction conflict_action, std::string* error) argument
[all...]
H A Ddownloads_api.h206 void DangerPromptCallback(int download_id,
210 void PromptOrWait(int download_id, int retries);
339 int download_id,
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_handler_unittest.cc93 int download_id,
98 download_id, image_url, image_sizes, max_image_size, false));
117 : download_id(id),
122 int download_id; member in struct:__anon4048::DownloadHandler::Download
396 favicon_helper_->OnDidDownloadFavicon(download_->download_id,
1444 int download_id = 0; local
1447 download_id = favicon_tab_helper->StartDownload(missing_icon_url, 0);
1448 EXPECT_NE(0, download_id);
1452 favicon_tab_helper->DidDownloadFavicon(download_id, 503, missing_icon_url,
1458 download_id
92 AddDownload( int download_id, const GURL& image_url, const std::vector<int>& image_sizes, int max_image_size) argument
[all...]
H A Dfavicon_handler.cc657 const int download_id = DownloadFavicon(image_url, local
659 if (download_id) {
661 DCHECK(download_requests_.find(download_id) == download_requests_.end());
662 download_requests_[download_id] =
666 return download_id;
/external/chromium_org/content/browser/android/
H A Ddownload_controller_android_impl.h86 WebContents* web_contents, int download_id, bool accept) OVERRIDE;

Completed in 272 milliseconds

12