Index: sync/internal_api/public/base/attachment_id_proto.h |
diff --git a/sync/internal_api/public/base/attachment_id_proto.h b/sync/internal_api/public/base/attachment_id_proto.h |
index 3332d8110366a88ee43c3612c180ca6e46be4cc2..a47f46e2e43c1c211021401e27b527d41438fffd 100644 |
--- a/sync/internal_api/public/base/attachment_id_proto.h |
+++ b/sync/internal_api/public/base/attachment_id_proto.h |
@@ -15,6 +15,14 @@ namespace syncer { |
// Creates a unique AttachmentIdProto. |
SYNC_EXPORT_PRIVATE sync_pb::AttachmentIdProto CreateAttachmentIdProto(); |
+// Creates an AttachmentMetadata object from a repeated field of |
+// AttachmentIdProto objects. |
+// |
+// Note: each record in the AttachmentMetadata will be marked as "on the |
+// server". |
+SYNC_EXPORT_PRIVATE sync_pb::AttachmentMetadata CreateAttachmentMetadata( |
+ const google::protobuf::RepeatedPtrField<sync_pb::AttachmentIdProto>& ids); |
+ |
} // namespace syncer |
#endif // SYNC_INTERNAL_API_PUBLIC_BASE_ATTACHMENT_ID_PROTO_H_ |