/external/chromium_org/content/browser/download/ |
D | download_item_impl.cc | 96 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 …]
|
D | download_item_impl_delegate.h | 16 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;
|
D | download_item_impl_delegate.cc | 31 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()
|
D | download_manager_impl.h | 31 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 …]
|
D | download_item_impl_unittest.cc | 48 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 …]
|
D | download_manager_impl.cc | 165 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 …]
|
D | download_item_factory.h | 31 class DownloadItemImpl; variable 40 virtual DownloadItemImpl* CreatePersistedItem( 59 virtual DownloadItemImpl* CreateActiveItem( 65 virtual DownloadItemImpl* CreateSavePageItem(
|
D | download_item_impl.h | 32 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);
|
D | download_manager_impl_unittest.cc | 68 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()
|
D | save_package.h | 32 class DownloadItemImpl; variable 129 DownloadItemImpl* item); 274 DownloadItemImpl* download_;
|
D | save_package.cc | 330 DownloadItemImpl* item) { in InitWithDownloadItem()
|