Home
last modified time | relevance | path

Searched refs:SaveItem (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/download/
Dsave_item.cc15 SaveItem::SaveItem(const GURL& url, in SaveItem() function in SaveItem
32 SaveItem::~SaveItem() { in ~SaveItem()
36 void SaveItem::Start() { in Start()
43 void SaveItem::UpdateSize(int64 bytes_so_far) { in UpdateSize()
52 void SaveItem::Update(int64 bytes_so_far) { in Update()
63 void SaveItem::Cancel() { in Cancel()
77 void SaveItem::Finish(int64 size, bool is_success) { in Finish()
94 int SaveItem::PercentComplete() const { in PercentComplete()
115 void SaveItem::Rename(const FilePath& full_path) { in Rename()
122 void SaveItem::SetSaveId(int32 save_id) { in SetSaveId()
[all …]
Dsave_item.h18 class SaveItem {
27 SaveItem(const GURL& url,
32 ~SaveItem();
109 DISALLOW_COPY_AND_ASSIGN(SaveItem);
Dsave_package.h31 class SaveItem; variable
116 void SaveCanceled(SaveItem* save_item);
195 SaveItem* LookupItemInProcessBySaveId(int32 save_id);
196 void PutInProgressItemToSavedMap(SaveItem* save_item);
218 typedef base::hash_map<std::string, SaveItem*> SaveUrlItemMap;
259 typedef std::queue<SaveItem*> SaveItemQueue;
263 typedef base::hash_map<int32, SaveItem*> SavedItemMap;
Dsave_package.cc240 SaveItem* save_item = waiting_item_queue_.front(); in ~SavePackage()
340 SaveItem* save_item = new SaveItem(page_url_, in Init()
523 SaveItem* save_item = it->second; in StartSave()
594 SaveItem* SavePackage::LookupItemInProcessBySaveId(int32 save_id) { in LookupItemInProcessBySaveId()
598 SaveItem* save_item = it->second; in LookupItemInProcessBySaveId()
599 DCHECK(save_item->state() == SaveItem::IN_PROGRESS); in LookupItemInProcessBySaveId()
608 void SavePackage::PutInProgressItemToSavedMap(SaveItem* save_item) { in PutInProgressItemToSavedMap()
634 SaveItem* save_item = LookupItemInProcessBySaveId(save_id); in UpdateSaveProgress()
661 SaveItem* save_item = it->second; in Stop()
662 DCHECK(save_item->state() == SaveItem::IN_PROGRESS); in Stop()
[all …]
/external/chromium_org/content/browser/download/
Dsave_item.cc16 SaveItem::SaveItem(const GURL& url, in SaveItem() function in content::SaveItem
33 SaveItem::~SaveItem() { in ~SaveItem()
37 void SaveItem::Start() { in Start()
44 void SaveItem::UpdateSize(int64 bytes_so_far) { in UpdateSize()
53 void SaveItem::Update(int64 bytes_so_far) { in Update()
64 void SaveItem::Cancel() { in Cancel()
78 void SaveItem::Finish(int64 size, bool is_success) { in Finish()
95 int SaveItem::PercentComplete() const { in PercentComplete()
116 void SaveItem::Rename(const base::FilePath& full_path) { in Rename()
123 void SaveItem::SetSaveId(int32 save_id) { in SetSaveId()
[all …]
Dsave_package.h36 class SaveItem; variable
109 void SaveCanceled(SaveItem* save_item);
187 SaveItem* LookupItemInProcessBySaveId(int32 save_id);
190 void PutInProgressItemToSavedMap(SaveItem* save_item);
215 typedef base::hash_map<std::string, SaveItem*> SaveUrlItemMap;
261 typedef std::queue<SaveItem*> SaveItemQueue;
265 typedef base::hash_map<int32, SaveItem*> SavedItemMap;
Dsave_item.h19 class SaveItem {
28 SaveItem(const GURL& url,
33 ~SaveItem();
110 DISALLOW_COPY_AND_ASSIGN(SaveItem);
Dsave_package.cc245 SaveItem* save_item = waiting_item_queue_.front(); in ~SavePackage()
353 SaveItem* save_item = new SaveItem(page_url_, in InitWithDownloadItem()
562 SaveItem* save_item = it->second; in StartSave()
634 SaveItem* SavePackage::LookupItemInProcessBySaveId(int32 save_id) { in LookupItemInProcessBySaveId()
638 SaveItem* save_item = it->second; in LookupItemInProcessBySaveId()
639 DCHECK(save_item->state() == SaveItem::IN_PROGRESS); in LookupItemInProcessBySaveId()
647 void SavePackage::PutInProgressItemToSavedMap(SaveItem* save_item) { in PutInProgressItemToSavedMap()
673 SaveItem* save_item = LookupItemInProcessBySaveId(save_id); in UpdateSaveProgress()
700 SaveItem* save_item = it->second; in Stop()
701 DCHECK(save_item->state() == SaveItem::IN_PROGRESS); in Stop()
[all …]