summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/base_node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/internal_api/base_node.cc')
-rw-r--r--sync/internal_api/base_node.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/sync/internal_api/base_node.cc b/sync/internal_api/base_node.cc
index 57dbb22..0788395 100644
--- a/sync/internal_api/base_node.cc
+++ b/sync/internal_api/base_node.cc
@@ -291,13 +291,10 @@ ModelType BaseNode::GetModelType() const {
}
const syncer::AttachmentIdList BaseNode::GetAttachmentIds() const {
- AttachmentIdList result;
- const sync_pb::AttachmentMetadata& metadata =
- GetEntry()->GetAttachmentMetadata();
- for (int i = 0; i < metadata.record_size(); ++i) {
- result.push_back(AttachmentId::CreateFromProto(metadata.record(i).id()));
- }
- return result;
+ // TODO(maniscalco): Once EntryKernel is capable of storing AttachmentIds,
+ // update this method to retrieve the list of AttachmentIds from read_node and
+ // pass it to CreateRemoteData (bug 348625).
+ return AttachmentIdList();
}
void BaseNode::SetUnencryptedSpecifics(