/external/chromium_org/chrome/browser/chromeos/drive/sync/ |
H A D | entry_revert_performer.cc | 51 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 D | entry_update_performer.cc | 30 error = metadata->GetResourceEntryById(entry->parent_local_id(), 132 if (entry->parent_local_id() == util::kDriveTrashDirLocalId) {
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | change_list_processor.cc | 244 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 D | resource_metadata.cc | 182 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 D | search_metadata.cc | 106 // 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 D | resource_metadata.h | 69 // 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 D | resource_metadata_storage.cc | 617 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 D | resource_metadata_unittest.cc | 48 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 D | search_metadata_unittest.cc | 127 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 D | sync_client.cc | 61 if (entry.parent_local_id() == util::kDriveTrashDirLocalId) {
|
H A D | change_list_processor_unittest.cc | 183 entry->parent_local_id(), &parent_entry));
|
H A D | resource_metadata_storage_unittest.cc | 359 EXPECT_EQ(parent_id1, result.parent_local_id());
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
H A D | remove_operation_unittest.cc | 40 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id()); 58 EXPECT_EQ(util::kDriveTrashDirLocalId, entry.parent_local_id());
|
H A D | create_directory_operation.cc | 38 std::string parent_local_id; 40 &parent_local_id); 43 entry.set_parent_local_id(parent_local_id);
|
H A D | create_file_operation.cc | 93 std::string parent_local_id; 95 &parent_local_id); 98 entry.set_parent_local_id(parent_local_id);
|
H A D | update_operation.cc | 82 std::string parent_local_id; 84 &parent_local_id); 88 entry.set_parent_local_id(parent_local_id);
|
H A D | copy_operation.cc | 74 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 D | drive_internals_ui.cc | 135 StringAppendF(&out, " parent_local_id: %s\n", 136 entry.parent_local_id().c_str());
|
/external/chromium_org/sync/engine/ |
H A D | syncer_unittest.cc | 2221 syncable::Id parent_local_id; local 2229 parent_local_id = parent.GetId(); 2246 parent_local_id.GetServerId());
|