Searched refs:parent_local_id (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
H A Dchange_list_processor.cc269 std::string parent_local_id; local
271 parent_resource_id, &parent_local_id);
286 while (it_parent == entry_map_.end() && !parent_local_id.empty()) {
288 parent_local_id, &parent_entry);
295 parent_local_id = parent_entry.parent_local_id();
460 std::string parent_local_id; local
463 parent_local_id = util::kDriveOtherDirLocalId;
466 parent_resource_id, &parent_local_id);
470 entry->set_parent_local_id(parent_local_id);
[all...]
H A Dresource_metadata.cc43 const std::string& parent_local_id,
48 FileError error = storage->GetChild(parent_local_id, base_name,
105 if (it->GetValue().parent_local_id().empty()) {
234 FileError error = storage_->GetEntry(entry.parent_local_id(), &parent);
388 error = storage_->GetEntry(entry.parent_local_id(), &new_parent);
434 FileError ResourceMetadata::GetChildId(const std::string& parent_local_id, argument
438 return storage_->GetChild(parent_local_id, base_name, out_child_id);
457 if (!entry.parent_local_id().empty()) {
458 error = GetFilePath(entry.parent_local_id(), &path);
503 DCHECK(!entry.parent_local_id()
42 EntryCanUseName(ResourceMetadataStorage* storage, const std::string& parent_local_id, const std::string& local_id, const std::string& base_name, bool* result) argument
[all...]
H A Dresource_metadata.h59 // Adds |entry| to the metadata tree based on its parent_local_id.
90 // the directory with |parent_local_id|.
92 FileError GetChildId(const std::string& parent_local_id,
H A Dresource_metadata_storage.cc736 if (!old_entry.parent_local_id().empty()) {
737 batch.Delete(GetChildEntryKey(old_entry.parent_local_id(),
741 if (!entry.parent_local_id().empty())
742 batch.Put(GetChildEntryKey(entry.parent_local_id(), entry.base_name()), id);
794 if (!entry.parent_local_id().empty())
795 batch.Delete(GetChildEntryKey(entry.parent_local_id(), entry.base_name()));
1004 if (!entry.parent_local_id().empty()) {
1008 leveldb::Slice(entry.parent_local_id()),
1019 leveldb::Slice(GetChildEntryKey(entry.parent_local_id(),
H A Dresource_metadata_unittest.cc44 const std::string& parent_local_id) {
48 entry.set_parent_local_id(parent_local_id);
56 const std::string& parent_local_id) {
58 title, "id:" + title, parent_local_id);
65 const std::string& parent_local_id) {
69 entry.set_parent_local_id(parent_local_id);
78 const std::string& parent_local_id) {
79 return CreateFileEntryWithResourceId(title, "id:" + title, parent_local_id);
41 CreateDirectoryEntryWithResourceId( const std::string& title, const std::string& resource_id, const std::string& parent_local_id) argument
55 CreateDirectoryEntry(const std::string& title, const std::string& parent_local_id) argument
62 CreateFileEntryWithResourceId( const std::string& title, const std::string& resource_id, const std::string& parent_local_id) argument
77 CreateFileEntry(const std::string& title, const std::string& parent_local_id) argument
H A Dsearch_metadata_unittest.cc130 const std::string& parent_local_id) {
134 entry.set_parent_local_id(parent_local_id);
142 const std::string& parent_local_id) {
146 entry.set_parent_local_id(parent_local_id);
127 GetFileEntry(const std::string& name, const std::string& resource_id, int64 last_accessed, const std::string& parent_local_id) argument
139 GetDirectoryEntry(const std::string& name, const std::string& resource_id, int64 last_accessed, const std::string& parent_local_id) argument
H A Dsearch_metadata.cc115 undetermined_ids.push_back(entry.parent_local_id());
126 undetermined_ids.push_back(parent.parent_local_id());
H A Dsync_client.cc59 if (entry.parent_local_id() == util::kDriveTrashDirLocalId) {
132 return metadata->GetResourceEntryById(entry.parent_local_id(), parent);
H A Dchange_list_processor_unittest.cc205 entry->parent_local_id(), &parent_entry));
H A Dresource_metadata_storage_unittest.cc275 EXPECT_EQ(parent_id1, result.parent_local_id());
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dremove_operation_unittest.cc42 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
60 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
H A Dcopy_operation.cc52 parent_local_id(parent_entry.local_id()),
60 const std::string parent_local_id; member in struct:drive::file_system::CopyOperation::TransferJsonGdocParams
176 std::string parent_local_id;
178 &parent_local_id);
181 entry->set_parent_local_id(parent_local_id);
259 if (entry.parent_local_id() == util::kDriveOtherDirLocalId) {
262 entry.set_parent_local_id(params->parent_local_id);
H A Dcreate_directory_operation.cc22 const std::string& parent_local_id,
40 entry.set_parent_local_id(parent_local_id);
21 CreateDirectoryRecursively(internal::ResourceMetadata* metadata, const std::string& parent_local_id, const base::FilePath& relative_file_path, std::set<std::string>* updated_local_ids, FileChange* changed_files) argument
/external/chromium_org/chrome/browser/chromeos/drive/sync/
H A Dremove_performer_unittest.cc191 EXPECT_EQ(src_entry.parent_local_id(), result_entry.parent_local_id());
H A Dentry_update_performer.cc50 error = metadata->GetResourceEntryById(local_state->entry.parent_local_id(),
248 if (local_state->entry.parent_local_id() == util::kDriveTrashDirLocalId) {
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Ddrive_internals_ui.cc130 StringAppendF(&out, " parent_local_id: %s\n",
131 entry.parent_local_id().c_str());
/external/chromium_org/sync/engine/
H A Dsyncer_unittest.cc2458 syncable::Id parent_local_id; local
2466 parent_local_id = parent.GetId();
2483 parent_local_id.GetServerId());

Completed in 414 milliseconds