Home
last modified time | relevance | path

Searched refs:DownloadItem (Results 1 – 6 of 6) sorted by relevance

/third_party/cef/libcef/browser/
Ddownload_manager_delegate.h21 class CefDownloadManagerDelegate : public download::DownloadItem::Observer,
36 void OnDownloadUpdated(download::DownloadItem* item) override;
37 void OnDownloadDestroyed(download::DownloadItem* item) override;
41 download::DownloadItem* item) override;
46 download::DownloadItem* item,
54 AlloyBrowserHostImpl* GetOrAssociateBrowser(download::DownloadItem* item);
55 AlloyBrowserHostImpl* GetBrowser(download::DownloadItem* item);
64 std::map<download::DownloadItem*, AlloyBrowserHostImpl*>;
Ddownload_manager_delegate.cc30 using download::DownloadItem;
125 DownloadItem* item = manager->GetDownload(download_id); in ChooseDownloadPath()
126 if (!item || item->GetState() != DownloadItem::IN_PROGRESS) in ChooseDownloadPath()
159 suggested_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE, in ChooseDownloadPath()
161 download::DownloadItem::MixedContentStatus::UNKNOWN, suggested_path, in ChooseDownloadPath()
178 std::move(callback).Run(path, DownloadItem::TARGET_DISPOSITION_OVERWRITE, in ChooseDownloadPathCallback()
180 download::DownloadItem::MixedContentStatus::UNKNOWN, in ChooseDownloadPathCallback()
226 DownloadItem* item = manager_->GetDownload(download_id_); in DoCancel()
227 if (item && item->GetState() == DownloadItem::IN_PROGRESS) in DoCancel()
239 DownloadItem* item = manager_->GetDownload(download_id_); in DoPause()
[all …]
Ddownload_item_impl.cc12 CefDownloadItemImpl::CefDownloadItemImpl(download::DownloadItem* value) in CefDownloadItemImpl()
13 : CefValueBase<CefDownloadItem, download::DownloadItem>( in CefDownloadItemImpl()
29 return const_value().GetState() == download::DownloadItem::IN_PROGRESS; in IsInProgress()
34 return const_value().GetState() == download::DownloadItem::COMPLETE; in IsComplete()
39 return const_value().GetState() == download::DownloadItem::CANCELLED; in IsCanceled()
Ddownload_item_impl.h13 class DownloadItem; variable
18 : public CefValueBase<CefDownloadItem, download::DownloadItem> {
20 explicit CefDownloadItemImpl(download::DownloadItem* value);
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch37233 using download::DownloadItem;
37369 const download::DownloadItem& download) {
37398 // Since it only records download url (DownloadItem::GetURL()), user's
37403 const download::DownloadItem& download);
D0001-cve.patch1285 void OnDownloadDestroyed(download::DownloadItem* item) override;
1353 + std::vector<download::DownloadItem*> downloads;
1356 + ASSERT_EQ(download::DownloadItem::COMPLETE, downloads[0]->GetState());