Searched refs:SaveItem (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/content/browser/download/
H A Dsave_item.cc15 // Constructor for SaveItem when creating each saving job.
16 SaveItem::SaveItem(const GURL& url, function in class:content::SaveItem
33 SaveItem::~SaveItem() {
37 void SaveItem::Start() {
44 void SaveItem::UpdateSize(int64 bytes_so_far) {
53 void SaveItem::Update(int64 bytes_so_far) {
62 // this command. The SavePackage will each in-progress SaveItem's cancel
64 void SaveItem
[all...]
H A Dsave_item.h17 // One SaveItem per save file. This is the model class that stores all the
19 class SaveItem { class in namespace:content
28 SaveItem(const GURL& url,
33 ~SaveItem();
50 // Update path for SaveItem, the actual file is renamed on the file thread.
102 // Flag indicates whether SaveItem has error while in saving process.
110 DISALLOW_COPY_AND_ASSIGN(SaveItem);
H A Dsave_package.h36 class SaveItem;
51 // saved. Each file is represented by a SaveItem, and all SaveItems are owned
109 void SaveCanceled(SaveItem* save_item);
185 // Look up SaveItem by save id from in progress map.
186 SaveItem* LookupItemInProcessBySaveId(int32 save_id);
188 // Remove SaveItem from in progress map and put it to saved map.
189 void PutInProgressItemToSavedMap(SaveItem* save_item);
214 typedef base::hash_map<std::string, SaveItem*> SaveUrlItemMap;
260 typedef std::queue<SaveItem*> SaveItemQueue;
264 typedef base::hash_map<int32, SaveItem*> SavedItemMa
[all...]
H A Dsave_package.cc241 SaveItem* save_item = waiting_item_queue_.front();
349 SaveItem* save_item = new SaveItem(page_url_,
548 // create a SaveItem and store it in our in_progress list.
558 SaveItem* save_item = it->second;
580 // We can not generate file name for this SaveItem, so we cancel the
582 // Otherwise, it means this SaveItem is sub-resource type, we treat it
593 // When saving page as only-HTML, we only have a SaveItem whose url
599 // rename the SaveItem.
609 // corresponding file to the file path which this SaveItem specifie
[all...]

Completed in 1685 milliseconds