Home | History | Annotate | Download | only in drive

Lines Matching refs:storage_

131       storage_(storage),
139 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
172 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
175 if (!storage_->SetLargestChangestamp(0) ||
193 if (!storage_->GetEntry(util::kDriveGrandRootSpecialResourceId, &entry)) {
198 if (!storage_->PutEntry(CreateEntryWithProperBaseName(root)))
201 if (!storage_->GetEntry(util::kDriveOtherDirSpecialResourceId, &entry)) {
241 return storage_->GetLargestChangestamp();
247 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
250 storage_->SetLargestChangestamp(value);
268 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
272 if (storage_->GetEntry(entry.resource_id(), &existing_entry))
276 if (!storage_->GetEntry(entry.parent_resource_id(), &parent) ||
318 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
326 if (!storage_->GetEntry(resource_id, &entry))
359 return storage_->GetEntry(resource_id, out_entry) ?
422 storage_->GetChildren(entry.resource_id(), &children);
426 if (!storage_->GetEntry(children[i], &entries[i]))
436 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
440 if (!storage_->GetEntry(entry.resource_id(), &old_entry))
450 if (!storage_->GetEntry(entry.parent_resource_id(), &new_parent) ||
481 storage_->GetChildren(resource_id, &children);
484 if (storage_->GetEntry(children[i], &entry) &&
495 return storage_->GetChild(parent_resource_id, base_name);
501 return storage_->GetIterator();
510 if (storage_->GetEntry(resource_id, &entry)) {
527 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
556 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
580 if (!storage_->GetEntry(util::kDriveGrandRootSpecialResourceId, &entry))
594 const std::string resource_id = storage_->GetChild(entry.resource_id(),
596 if (resource_id.empty() || !storage_->GetEntry(resource_id, &entry))
629 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
633 if (!storage_->GetEntry(directory_fetch_info.resource_id(), &directory))
641 storage_->PutEntry(directory);
646 if (!EnoughDiskSpaceIsAvailableForDBOperation(storage_->directory_path()))
739 storage_->GetChild(entry.parent_resource_id(), new_base_name);
754 return storage_->PutEntry(updated_entry);
762 if (!storage_->GetEntry(resource_id, &entry))
767 storage_->GetChildren(resource_id, &children);
773 return storage_->RemoveEntry(resource_id);