Lines Matching refs:SaveItem
14 // Constructor for SaveItem when creating each saving job.
15 SaveItem::SaveItem(const GURL& url,
32 SaveItem::~SaveItem() {
36 void SaveItem::Start() {
43 void SaveItem::UpdateSize(int64 bytes_so_far) {
52 void SaveItem::Update(int64 bytes_so_far) {
61 // this command. The SavePackage will each in-progress SaveItem's cancel
63 void SaveItem::Cancel() {
77 void SaveItem::Finish(int64 size, bool is_success) {
78 // When this function is called, the SaveItem should be one of following
80 // a) The data of this SaveItem is finished saving. So it should have
83 // generated for this SaveItem and the |is_success_| should be false.
84 // c) Error happened in the start of saving process, the SaveItem has a save
94 int SaveItem::PercentComplete() const {
115 void SaveItem::Rename(const FilePath& full_path) {
122 void SaveItem::SetSaveId(int32 save_id) {
127 void SaveItem::SetTotalBytes(int64 total_bytes) {