/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | change_list_processor.cc | 269 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 D | resource_metadata.cc | 43 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 D | resource_metadata.h | 59 // 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 D | resource_metadata_storage.cc | 736 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 D | resource_metadata_unittest.cc | 44 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 D | search_metadata_unittest.cc | 130 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 D | search_metadata.cc | 115 undetermined_ids.push_back(entry.parent_local_id()); 126 undetermined_ids.push_back(parent.parent_local_id());
|
H A D | sync_client.cc | 59 if (entry.parent_local_id() == util::kDriveTrashDirLocalId) { 132 return metadata->GetResourceEntryById(entry.parent_local_id(), parent);
|
H A D | change_list_processor_unittest.cc | 205 entry->parent_local_id(), &parent_entry));
|
H A D | resource_metadata_storage_unittest.cc | 275 EXPECT_EQ(parent_id1, result.parent_local_id());
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
H A D | remove_operation_unittest.cc | 42 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id()); 60 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
|
H A D | copy_operation.cc | 52 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 D | create_directory_operation.cc | 22 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 D | remove_performer_unittest.cc | 191 EXPECT_EQ(src_entry.parent_local_id(), result_entry.parent_local_id());
|
H A D | entry_update_performer.cc | 50 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 D | drive_internals_ui.cc | 130 StringAppendF(&out, " parent_local_id: %s\n", 131 entry.parent_local_id().c_str());
|
/external/chromium_org/sync/engine/ |
H A D | syncer_unittest.cc | 2458 syncable::Id parent_local_id; local 2466 parent_local_id = parent.GetId(); 2483 parent_local_id.GetServerId());
|