Lines Matching refs:storage_

73       storage_(storage),
95 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
98 FileError error = storage_->SetLargestChangestamp(0);
126 FileError error = storage_->GetEntry(util::kDriveGrandRootLocalId, &entry);
133 error = storage_->PutEntry(root);
140 error = storage_->PutEntry(entry);
149 error = storage_->GetEntry(util::kDriveOtherDirLocalId, &entry);
163 error = storage_->PutEntry(entry);
172 error = storage_->GetEntry(util::kDriveTrashDirLocalId, &entry);
188 error = storage_->GetChild(
213 return storage_->GetLargestChangestamp(out_value);
219 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
222 return storage_->SetLargestChangestamp(value);
230 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
234 FileError error = storage_->GetEntry(entry.parent_local_id(), &parent);
244 error = storage_->GetIdByResourceId(entry.resource_id(), &local_id);
246 error = storage_->GetEntry(local_id, &existing_entry);
273 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
281 FileError error = storage_->GetEntry(id, &entry);
294 return storage_->GetEntry(id, out_entry);
338 error = storage_->GetChildren(id, &children);
344 error = storage_->GetEntry(children[i], &entries[i]);
355 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
359 FileError error = storage_->GetEntry(entry.local_id(), &old_entry);
388 error = storage_->GetEntry(entry.parent_local_id(), &new_parent);
414 FileError error = storage_->GetChildren(id, &children);
419 error = storage_->GetEntry(children[i], &entry);
438 return storage_->GetChild(parent_local_id, base_name, out_child_id);
444 return storage_->GetIterator();
452 FileError error = storage_->GetEntry(id, &entry);
485 FileError error = storage_->GetChild(id, component, &child_id);
497 return storage_->GetIdByResourceId(resource_id, out_local_id);
511 return storage_->PutEntry(updated_entry);
533 FileError error = EntryCanUseName(storage_, entry.parent_local_id(),
542 error = EntryCanUseName(storage_, entry.parent_local_id(), entry.local_id(),
564 error = EntryCanUseName(storage_, entry.parent_local_id(), entry.local_id(),
583 FileError error = storage_->GetEntry(id, &entry);
589 error = storage_->GetChildren(id, &children);
603 return storage_->RemoveEntry(id);