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

/external/chromium_org/chrome/browser/chromeos/drive/sync/
H A Dentry_revert_performer.cc51 std::string parent_local_id; local
52 error = metadata->GetIdByResourceId(parent_resource_id, &parent_local_id);
57 entry.set_parent_local_id(parent_local_id);
62 changed_directories->insert(metadata->GetFilePath(entry.parent_local_id()));
H A Dentry_update_performer.cc30 error = metadata->GetResourceEntryById(entry->parent_local_id(),
132 if (entry->parent_local_id() == util::kDriveTrashDirLocalId) {
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dchange_list_processor.cc244 std::string parent_local_id; local
246 parent_resource_id, &parent_local_id);
253 while (it_parent == entry_map_.end() && !parent_local_id.empty()) {
255 parent_local_id, &parent_entry);
262 parent_local_id = parent_entry.parent_local_id();
308 std::string parent_local_id; local
310 parent_resource_id, &parent_local_id);
323 new_entry.set_parent_local_id(parent_local_id);
H A Dresource_metadata.cc182 if (!storage_->GetEntry(entry.parent_local_id(), &parent) ||
331 if (old_entry.parent_local_id().empty() || // Reject root.
338 if (!storage_->GetEntry(entry.parent_local_id(), &new_parent))
367 std::string ResourceMetadata::GetChildId(const std::string& parent_local_id, argument
370 return storage_->GetChild(parent_local_id, base_name);
385 if (!entry.parent_local_id().empty())
386 path = GetFilePath(entry.parent_local_id());
425 DCHECK(!entry.parent_local_id().empty());
440 storage_->GetChild(entry.parent_local_id(), new_base_name);
H A Dsearch_metadata.cc106 // parent_local_id cannot be used to classify the trash itself.
114 undetermined_ids.push_back(entry.parent_local_id());
124 undetermined_ids.push_back(parent.parent_local_id());
173 entry.parent_local_id() == util::kDriveGrandRootLocalId) {
H A Dresource_metadata.h69 // Adds |entry| to the metadata tree based on its parent_local_id.
108 // the directory with |parent_local_id|.
110 std::string GetChildId(const std::string& parent_local_id,
H A Dresource_metadata_storage.cc617 if (!old_entry.parent_local_id().empty()) {
618 batch.Delete(GetChildEntryKey(old_entry.parent_local_id(),
622 if (!entry.parent_local_id().empty())
623 batch.Put(GetChildEntryKey(entry.parent_local_id(), entry.base_name()), id);
670 if (!entry.parent_local_id().empty())
671 batch.Delete(GetChildEntryKey(entry.parent_local_id(), entry.base_name()));
921 if (!entry.parent_local_id().empty()) {
925 leveldb::Slice(entry.parent_local_id()),
935 leveldb::Slice(GetChildEntryKey(entry.parent_local_id(),
H A Dresource_metadata_unittest.cc48 const std::string& parent_local_id) {
52 entry.set_parent_local_id(parent_local_id);
60 const std::string& parent_local_id) {
62 title, "id:" + title, parent_local_id);
69 const std::string& parent_local_id) {
73 entry.set_parent_local_id(parent_local_id);
82 const std::string& parent_local_id) {
83 return CreateFileEntryWithResourceId(title, "id:" + title, parent_local_id);
45 CreateDirectoryEntryWithResourceId( const std::string& title, const std::string& resource_id, const std::string& parent_local_id) argument
59 CreateDirectoryEntry(const std::string& title, const std::string& parent_local_id) argument
66 CreateFileEntryWithResourceId( const std::string& title, const std::string& resource_id, const std::string& parent_local_id) argument
81 CreateFileEntry(const std::string& title, const std::string& parent_local_id) argument
H A Dsearch_metadata_unittest.cc127 const std::string& parent_local_id) {
131 entry.set_parent_local_id(parent_local_id);
139 const std::string& parent_local_id) {
143 entry.set_parent_local_id(parent_local_id);
124 GetFileEntry(const std::string& name, const std::string& resource_id, int64 last_accessed, const std::string& parent_local_id) argument
136 GetDirectoryEntry(const std::string& name, const std::string& resource_id, int64 last_accessed, const std::string& parent_local_id) argument
H A Dsync_client.cc61 if (entry.parent_local_id() == util::kDriveTrashDirLocalId) {
H A Dchange_list_processor_unittest.cc183 entry->parent_local_id(), &parent_entry));
H A Dresource_metadata_storage_unittest.cc359 EXPECT_EQ(parent_id1, result.parent_local_id());
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dremove_operation_unittest.cc40 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
58 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
H A Dcreate_directory_operation.cc38 std::string parent_local_id;
40 &parent_local_id);
43 entry.set_parent_local_id(parent_local_id);
H A Dcreate_file_operation.cc93 std::string parent_local_id;
95 &parent_local_id);
98 entry.set_parent_local_id(parent_local_id);
H A Dupdate_operation.cc82 std::string parent_local_id;
84 &parent_local_id);
88 entry.set_parent_local_id(parent_local_id);
H A Dcopy_operation.cc74 std::string parent_local_id;
76 &parent_local_id);
79 entry.set_parent_local_id(parent_local_id);
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Ddrive_internals_ui.cc135 StringAppendF(&out, " parent_local_id: %s\n",
136 entry.parent_local_id().c_str());
/external/chromium_org/sync/engine/
H A Dsyncer_unittest.cc2221 syncable::Id parent_local_id; local
2229 parent_local_id = parent.GetId();
2246 parent_local_id.GetServerId());

Completed in 1649 milliseconds