Home
last modified time | relevance | path

Searched refs:SaveItem (Results 1 – 4 of 4) 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 …]