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

/external/chromium_org/content/browser/download/
H A Ddownload_item_impl_delegate.h16 class DownloadItemImpl;
19 // Delegate for operations that a DownloadItemImpl can't do for itself.
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* downloa
[all...]
H A Ddownload_item_impl_delegate.cc31 DownloadItemImpl* download, const DownloadTargetCallback& callback) {
41 DownloadItemImpl* download,
47 DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback) {
57 DownloadItemImpl* download_item) {}
66 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {}
68 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {}
70 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) {
73 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {}
76 DownloadItemImpl* download) const {}
H A Ddownload_item_impl.cc70 base::WeakPtr<DownloadItemImpl> item,
107 const int DownloadItemImpl::kMaxAutoResumeAttempts = 5;
110 DownloadItemImpl::DownloadItemImpl(DownloadItemImplDelegate* delegate, function in class:content::DownloadItemImpl
170 DownloadItemImpl::DownloadItemImpl( function in class:content::DownloadItemImpl
229 DownloadItemImpl::DownloadItemImpl( function in class:content::DownloadItemImpl
274 DownloadItemImpl::~DownloadItemImpl() {
[all...]
H A Ddownload_item_factory.h31 class DownloadItemImpl;
40 virtual DownloadItemImpl* CreatePersistedItem(
61 virtual DownloadItemImpl* CreateActiveItem(
67 virtual DownloadItemImpl* CreateSavePageItem(
H A Ddownload_manager_impl.h32 class DownloadItemImpl;
38 typedef base::Callback<void(DownloadItemImpl*)> DownloadItemImplCreated;
109 typedef base::hash_map<uint32, DownloadItemImpl*> DownloadMap;
110 typedef std::vector<DownloadItemImpl*> DownloadItemImplVector;
133 DownloadItemImpl* CreateActiveItem(uint32 id,
148 DownloadItemImpl* item, const DownloadTargetCallback& callback) OVERRIDE;
150 DownloadItemImpl* item, const base::Closure& complete_callback) OVERRIDE;
154 DownloadItemImpl* item,
156 virtual void CheckForFileRemoval(DownloadItemImpl* download_item) OVERRIDE;
160 virtual void OpenDownload(DownloadItemImpl* downloa
[all...]
H A Ddownload_manager_impl.cc165 virtual DownloadItemImpl* CreatePersistedItem(
185 return new DownloadItemImpl(
207 virtual DownloadItemImpl* CreateActiveItem(
212 return new DownloadItemImpl(delegate, download_id, info, bound_net_log);
215 virtual DownloadItemImpl* CreateSavePageItem(
223 return new DownloadItemImpl(delegate, download_id, path, url,
249 DownloadItemImpl* DownloadManagerImpl::CreateActiveItem(
255 DownloadItemImpl* download =
272 DownloadItemImpl* item, const DownloadTargetCallback& callback) {
289 DownloadItemImpl* ite
[all...]
H A 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() {
229 DownloadItemImpl* downloa
[all...]
H A Ddownload_item_impl.h32 class CONTENT_EXPORT DownloadItemImpl class in namespace:content
48 // DownloadItemImplDelegate passed to a DownloadItemImpl constructor
49 // outlives the DownloadItemImpl.
53 DownloadItemImpl(DownloadItemImplDelegate* delegate,
75 DownloadItemImpl(DownloadItemImplDelegate* delegate,
82 DownloadItemImpl(DownloadItemImplDelegate* delegate,
90 virtual ~DownloadItemImpl();
162 // All remaining public interfaces virtual to allow for DownloadItemImpl
185 // TODO(rdsmith): Unwind DownloadManagerImpl and DownloadItemImpl,
201 // DownloadItemImpl routine
[all...]
H A Ddownload_manager_impl_unittest.cc68 class MockDownloadItemImpl : public DownloadItemImpl {
72 : DownloadItemImpl(
232 virtual DownloadItemImpl* CreatePersistedItem(
252 virtual DownloadItemImpl* CreateActiveItem(
257 virtual DownloadItemImpl* CreateSavePageItem(
299 DownloadItemImpl* MockDownloadItemFactory::CreatePersistedItem(
328 DownloadItemImpl* MockDownloadItemFactory::CreateActiveItem(
348 DownloadItemImpl* MockDownloadItemFactory::CreateSavePageItem(
551 void DetermineDownloadTarget(DownloadItemImpl* item) {
H A Dsave_package.h32 class DownloadItemImpl;
129 DownloadItemImpl* item);
274 DownloadItemImpl* download_;
H A Dsave_package.cc330 DownloadItemImpl* item) {

Completed in 106 milliseconds