Home
last modified time | relevance | path

Searched refs:DownloadItemImpl (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/content/browser/download/
Ddownload_item_impl.cc96 const int DownloadItemImpl::kMaxAutoResumeAttempts = 5;
99 DownloadItemImpl::DownloadItemImpl(DownloadItemImplDelegate* delegate, in DownloadItemImpl() function in content::DownloadItemImpl
155 DownloadItemImpl::DownloadItemImpl( in DownloadItemImpl() function in content::DownloadItemImpl
212 DownloadItemImpl::DownloadItemImpl( in DownloadItemImpl() function in content::DownloadItemImpl
257 DownloadItemImpl::~DownloadItemImpl() { in ~DownloadItemImpl()
269 void DownloadItemImpl::AddObserver(Observer* observer) { in AddObserver()
275 void DownloadItemImpl::RemoveObserver(Observer* observer) { in RemoveObserver()
281 void DownloadItemImpl::UpdateObservers() { in UpdateObservers()
287 void DownloadItemImpl::ValidateDangerousDownload() { in ValidateDangerousDownload()
311 void DownloadItemImpl::StealDangerousDownload( in StealDangerousDownload()
[all …]
Ddownload_item_impl_delegate.h16 class DownloadItemImpl; variable
45 DownloadItemImpl* download, const DownloadTargetCallback& callback);
52 DownloadItemImpl* download,
58 DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback);
67 virtual void CheckForFileRemoval(DownloadItemImpl* download_item);
78 virtual void UpdatePersistence(DownloadItemImpl* download);
81 virtual void OpenDownload(DownloadItemImpl* download);
84 virtual void ShowDownloadInShell(DownloadItemImpl* download);
88 virtual void DownloadRemoved(DownloadItemImpl* download);
91 virtual void AssertStateConsistent(DownloadItemImpl* download) const;
Ddownload_item_impl_delegate.cc31 DownloadItemImpl* download, const DownloadTargetCallback& callback) { in DetermineDownloadTarget()
41 DownloadItemImpl* download, in ShouldCompleteDownload()
47 DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback) { in ShouldOpenDownload()
57 DownloadItemImpl* download_item) {} in CheckForFileRemoval()
66 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} in UpdatePersistence()
68 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} in OpenDownload()
70 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { in ShowDownloadInShell()
73 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} in DownloadRemoved()
76 DownloadItemImpl* download) const {} in AssertStateConsistent()
Ddownload_manager_impl.h31 class DownloadItemImpl; variable
37 typedef base::Callback<void(DownloadItemImpl*)> DownloadItemImplCreated;
106 typedef base::hash_map<uint32, DownloadItemImpl*> DownloadMap;
107 typedef std::vector<DownloadItemImpl*> DownloadItemImplVector;
130 DownloadItemImpl* CreateActiveItem(uint32 id,
145 DownloadItemImpl* item, const DownloadTargetCallback& callback) OVERRIDE;
147 DownloadItemImpl* item, const base::Closure& complete_callback) OVERRIDE;
151 DownloadItemImpl* item,
153 virtual void CheckForFileRemoval(DownloadItemImpl* download_item) OVERRIDE;
157 virtual void OpenDownload(DownloadItemImpl* download) OVERRIDE;
[all …]
Ddownload_item_impl_unittest.cc48 DownloadItemImpl*, const DownloadTargetCallback&));
50 bool(DownloadItemImpl*, const base::Closure&));
52 bool(DownloadItemImpl*, const ShouldOpenDownloadCallback&));
54 MOCK_METHOD1(CheckForFileRemoval, void(DownloadItemImpl*));
64 MOCK_METHOD1(UpdatePersistence, void(DownloadItemImpl*));
65 MOCK_METHOD1(DownloadOpened, void(DownloadItemImpl*));
66 MOCK_METHOD1(DownloadRemoved, void(DownloadItemImpl*));
67 MOCK_CONST_METHOD1(AssertStateConsistent, void(DownloadItemImpl*));
216 DownloadItemImpl* CreateDownloadItem() { in CreateDownloadItem()
229 DownloadItemImpl* download = in CreateDownloadItem()
[all …]
Ddownload_manager_impl.cc165 virtual DownloadItemImpl* CreatePersistedItem( in CreatePersistedItem()
183 return new DownloadItemImpl( in CreatePersistedItem()
203 virtual DownloadItemImpl* CreateActiveItem( in CreateActiveItem()
208 return new DownloadItemImpl(delegate, download_id, info, bound_net_log); in CreateActiveItem()
211 virtual DownloadItemImpl* CreateSavePageItem( in CreateSavePageItem()
219 return new DownloadItemImpl(delegate, download_id, path, url, in CreateSavePageItem()
245 DownloadItemImpl* DownloadManagerImpl::CreateActiveItem( in CreateActiveItem()
251 DownloadItemImpl* download = in CreateActiveItem()
268 DownloadItemImpl* item, const DownloadTargetCallback& callback) { in DetermineDownloadTarget()
285 DownloadItemImpl* item, const base::Closure& complete_callback) { in ShouldCompleteDownload()
[all …]
Ddownload_item_factory.h31 class DownloadItemImpl; variable
40 virtual DownloadItemImpl* CreatePersistedItem(
59 virtual DownloadItemImpl* CreateActiveItem(
65 virtual DownloadItemImpl* CreateSavePageItem(
Ddownload_item_impl.h32 class CONTENT_EXPORT DownloadItemImpl
53 DownloadItemImpl(DownloadItemImplDelegate* delegate,
73 DownloadItemImpl(DownloadItemImplDelegate* delegate,
80 DownloadItemImpl(DownloadItemImplDelegate* delegate,
88 virtual ~DownloadItemImpl();
544 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
546 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
Ddownload_manager_impl_unittest.cc68 class MockDownloadItemImpl : public DownloadItemImpl {
72 : DownloadItemImpl( in MockDownloadItemImpl()
228 virtual DownloadItemImpl* CreatePersistedItem(
246 virtual DownloadItemImpl* CreateActiveItem(
251 virtual DownloadItemImpl* CreateSavePageItem(
293 DownloadItemImpl* MockDownloadItemFactory::CreatePersistedItem( in CreatePersistedItem()
320 DownloadItemImpl* MockDownloadItemFactory::CreateActiveItem( in CreateActiveItem()
340 DownloadItemImpl* MockDownloadItemFactory::CreateSavePageItem( in CreateSavePageItem()
554 void DetermineDownloadTarget(DownloadItemImpl* item) { in DetermineDownloadTarget()
Dsave_package.h32 class DownloadItemImpl; variable
129 DownloadItemImpl* item);
274 DownloadItemImpl* download_;
Dsave_package.cc330 DownloadItemImpl* item) { in InitWithDownloadItem()