/external/chromium_org/chrome/browser/chromeos/drive/ |
D | resource_metadata.cc | 43 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 …]
|
D | change_list_processor.cc | 269 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()
|
D | resource_metadata_unittest.cc | 44 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()
|
D | resource_metadata_storage.cc | 736 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()
|
D | search_metadata_unittest.cc | 130 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()
|
D | search_metadata.cc | 115 undetermined_ids.push_back(entry.parent_local_id()); in IsHidden() 126 undetermined_ids.push_back(parent.parent_local_id()); in IsHidden()
|
D | resource_metadata.h | 92 FileError GetChildId(const std::string& parent_local_id,
|
D | sync_client.cc | 59 if (entry.parent_local_id() == util::kDriveTrashDirLocalId) { in CollectBacklog() 132 return metadata->GetResourceEntryById(entry.parent_local_id(), parent); in GetParentResourceEntry()
|
D | drive.proto | 91 optional string parent_local_id = 7; field
|
D | change_list_processor_unittest.cc | 205 entry->parent_local_id(), &parent_entry)); in TEST_F()
|
D | resource_metadata_storage_unittest.cc | 275 EXPECT_EQ(parent_id1, result.parent_local_id()); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
D | copy_operation.cc | 52 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()
|
D | remove_operation_unittest.cc | 42 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id()); in TEST_F() 60 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id()); in TEST_F()
|
D | create_directory_operation.cc | 22 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/ |
D | remove_performer_unittest.cc | 191 EXPECT_EQ(src_entry.parent_local_id(), result_entry.parent_local_id()); in TEST_F()
|
D | entry_update_performer.cc | 50 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/ |
D | drive_internals_ui.cc | 131 entry.parent_local_id().c_str()); in FormatEntry()
|
/external/chromium_org/sync/engine/ |
D | syncer_unittest.cc | 2458 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()
|