Home
last modified time | relevance | path

Searched refs:save_id (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/download/
Dsave_file_manager.cc56 SaveFile* SaveFileManager::LookupSaveFile(int save_id) { in LookupSaveFile() argument
57 SaveFileMap::iterator it = save_file_map_.find(save_id); in LookupSaveFile()
110 SavePackage* SaveFileManager::LookupPackage(int save_id) { in LookupPackage() argument
112 SavePackageMap::iterator it = packages_.find(save_id); in LookupPackage()
168 void SaveFileManager::RemoveSaveFile(int save_id, const GURL& save_url, in RemoveSaveFile() argument
174 if (save_id == -1) { in RemoveSaveFile()
179 SavePackageMap::iterator it = packages_.find(save_id); in RemoveSaveFile()
211 void SaveFileManager::SendCancelRequest(int save_id) { in SendCancelRequest() argument
213 DCHECK_GT(save_id, -1); in SendCancelRequest()
216 NewRunnableMethod(this, &SaveFileManager::CancelSave, save_id)); in SendCancelRequest()
[all …]
Dsave_file_manager.h107 void UpdateSaveProgress(int save_id, net::IOBuffer* data, int size);
108 void SaveFinished(int save_id,
115 void CancelSave(int save_id);
119 void RemoveSaveFile(int save_id, const GURL& save_url,
135 int save_id,
174 SavePackage* LookupPackage(int save_id);
178 SaveFile* LookupSaveFile(int save_id);
181 void SendCancelRequest(int save_id);
190 void OnUpdateSaveProgress(int save_id,
195 void OnSaveFinished(int save_id, int64 bytes_so_far, bool is_success);
Dsave_types.cc11 int32 save_id) in SaveFileCreateInfo() argument
14 save_id(save_id), in SaveFileCreateInfo()
23 : save_id(-1), in SaveFileCreateInfo()
Dsave_package.cc527 save_item->SetSaveId(info->save_id); in StartSave()
554 SaveFinished(save_item->save_id(), 0, false); in StartSave()
580 save_item->save_id(), in StartSave()
594 SaveItem* SavePackage::LookupItemInProcessBySaveId(int32 save_id) { in LookupItemInProcessBySaveId() argument
600 if (save_item->save_id() == save_id) in LookupItemInProcessBySaveId()
617 DCHECK(saved_success_items_.find(save_item->save_id()) == in PutInProgressItemToSavedMap()
619 saved_success_items_[save_item->save_id()] = save_item; in PutInProgressItemToSavedMap()
629 bool SavePackage::UpdateSaveProgress(int32 save_id, in UpdateSaveProgress() argument
634 SaveItem* save_item = LookupItemInProcessBySaveId(save_id); in UpdateSaveProgress()
680 save_ids.push_back(it->second->save_id()); in Stop()
[all …]
Dsave_file.h28 int save_id() const { return info_->save_id; } in save_id() function
Dsave_types.h39 int32 save_id);
54 int save_id; member
Dsave_item.h52 void SetSaveId(int32 save_id);
64 int32 save_id() const { return save_id_; } in save_id() function
Dsave_item.cc122 void SaveItem::SetSaveId(int32 save_id) { in SetSaveId() argument
124 save_id_ = save_id; in SetSaveId()
Dsave_package.h113 bool UpdateSaveProgress(int32 save_id, int64 size, bool write_success);
114 void SaveFinished(int32 save_id, int64 size, bool is_success);
195 SaveItem* LookupItemInProcessBySaveId(int32 save_id);
/external/chromium/chrome/browser/renderer_host/
Dsave_file_resource_handler.cc49 info->save_id = save_id_; in OnResponseStarted()