Home
last modified time | relevance | path

Searched refs:parent_local_id (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata.cc43 const std::string& parent_local_id, in EntryCanUseName() argument
48 FileError error = storage->GetChild(parent_local_id, base_name, in EntryCanUseName()
105 if (it->GetValue().parent_local_id().empty()) { in Reset()
234 FileError error = storage_->GetEntry(entry.parent_local_id(), &parent); in AddEntry()
388 error = storage_->GetEntry(entry.parent_local_id(), &new_parent); in RefreshEntry()
434 FileError ResourceMetadata::GetChildId(const std::string& parent_local_id, in GetChildId() argument
438 return storage_->GetChild(parent_local_id, base_name, out_child_id); in GetChildId()
457 if (!entry.parent_local_id().empty()) { in GetFilePath()
458 error = GetFilePath(entry.parent_local_id(), &path); in GetFilePath()
503 DCHECK(!entry.parent_local_id().empty()); in PutEntryUnderDirectory()
[all …]
Dchange_list_processor.cc269 std::string parent_local_id; in ApplyEntryMap() local
271 parent_resource_id, &parent_local_id); in ApplyEntryMap()
286 while (it_parent == entry_map_.end() && !parent_local_id.empty()) { in ApplyEntryMap()
288 parent_local_id, &parent_entry); in ApplyEntryMap()
295 parent_local_id = parent_entry.parent_local_id(); in ApplyEntryMap()
460 std::string parent_local_id; in SetParentLocalIdOfEntry() local
463 parent_local_id = util::kDriveOtherDirLocalId; in SetParentLocalIdOfEntry()
466 parent_resource_id, &parent_local_id); in SetParentLocalIdOfEntry()
470 entry->set_parent_local_id(parent_local_id); in SetParentLocalIdOfEntry()
Dresource_metadata_unittest.cc44 const std::string& parent_local_id) { in CreateDirectoryEntryWithResourceId() argument
48 entry.set_parent_local_id(parent_local_id); in CreateDirectoryEntryWithResourceId()
56 const std::string& parent_local_id) { in CreateDirectoryEntry() argument
58 title, "id:" + title, parent_local_id); in CreateDirectoryEntry()
65 const std::string& parent_local_id) { in CreateFileEntryWithResourceId() argument
69 entry.set_parent_local_id(parent_local_id); in CreateFileEntryWithResourceId()
78 const std::string& parent_local_id) { in CreateFileEntry() argument
79 return CreateFileEntryWithResourceId(title, "id:" + title, parent_local_id); in CreateFileEntry()
Dresource_metadata_storage.cc736 if (!old_entry.parent_local_id().empty()) { in PutEntry()
737 batch.Delete(GetChildEntryKey(old_entry.parent_local_id(), in PutEntry()
741 if (!entry.parent_local_id().empty()) in PutEntry()
742 batch.Put(GetChildEntryKey(entry.parent_local_id(), entry.base_name()), id); in PutEntry()
794 if (!entry.parent_local_id().empty()) in RemoveEntry()
795 batch.Delete(GetChildEntryKey(entry.parent_local_id(), entry.base_name())); in RemoveEntry()
1004 if (!entry.parent_local_id().empty()) { in CheckValidity()
1008 leveldb::Slice(entry.parent_local_id()), in CheckValidity()
1019 leveldb::Slice(GetChildEntryKey(entry.parent_local_id(), in CheckValidity()
Dsearch_metadata_unittest.cc130 const std::string& parent_local_id) { in GetFileEntry() argument
134 entry.set_parent_local_id(parent_local_id); in GetFileEntry()
142 const std::string& parent_local_id) { in GetDirectoryEntry() argument
146 entry.set_parent_local_id(parent_local_id); in GetDirectoryEntry()
Dsearch_metadata.cc115 undetermined_ids.push_back(entry.parent_local_id()); in IsHidden()
126 undetermined_ids.push_back(parent.parent_local_id()); in IsHidden()
Dresource_metadata.h92 FileError GetChildId(const std::string& parent_local_id,
Dsync_client.cc59 if (entry.parent_local_id() == util::kDriveTrashDirLocalId) { in CollectBacklog()
132 return metadata->GetResourceEntryById(entry.parent_local_id(), parent); in GetParentResourceEntry()
Ddrive.proto91 optional string parent_local_id = 7; field
Dchange_list_processor_unittest.cc205 entry->parent_local_id(), &parent_entry)); in TEST_F()
Dresource_metadata_storage_unittest.cc275 EXPECT_EQ(parent_id1, result.parent_local_id()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dcopy_operation.cc52 parent_local_id(parent_entry.local_id()), in TransferJsonGdocParams()
60 const std::string parent_local_id; member
176 std::string parent_local_id; in UpdateLocalStateForServerSideOperation() local
178 &parent_local_id); in UpdateLocalStateForServerSideOperation()
181 entry->set_parent_local_id(parent_local_id); in UpdateLocalStateForServerSideOperation()
259 if (entry.parent_local_id() == util::kDriveOtherDirLocalId) { in LocalWorkForTransferJsonGdocFile()
262 entry.set_parent_local_id(params->parent_local_id); in LocalWorkForTransferJsonGdocFile()
Dremove_operation_unittest.cc42 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id()); in TEST_F()
60 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id()); in TEST_F()
Dcreate_directory_operation.cc22 const std::string& parent_local_id, in CreateDirectoryRecursively() argument
40 entry.set_parent_local_id(parent_local_id); in CreateDirectoryRecursively()
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dremove_performer_unittest.cc191 EXPECT_EQ(src_entry.parent_local_id(), result_entry.parent_local_id()); in TEST_F()
Dentry_update_performer.cc50 error = metadata->GetResourceEntryById(local_state->entry.parent_local_id(), in PrepareUpdate()
248 if (local_state->entry.parent_local_id() == util::kDriveTrashDirLocalId) { in UpdateEntryAfterPrepare()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Ddrive_internals_ui.cc131 entry.parent_local_id().c_str()); in FormatEntry()
/external/chromium_org/sync/engine/
Dsyncer_unittest.cc2458 syncable::Id parent_local_id; in TEST_F() local
2466 parent_local_id = parent.GetId(); in TEST_F()
2483 parent_local_id.GetServerId()); in TEST_F()