| // Copyright 2020 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef PDF_DOCUMENT_ATTACHMENT_INFO_H_ |
| #define PDF_DOCUMENT_ATTACHMENT_INFO_H_ |
| struct DocumentAttachmentInfo { |
| DocumentAttachmentInfo(); |
| DocumentAttachmentInfo(const DocumentAttachmentInfo& other); |
| ~DocumentAttachmentInfo(); |
| // The attachment's name. |
| // The attachment's size in bytes. |
| // The creation date of the attachment. It stores the arbitrary string saved |
| // in field "CreationDate". |
| std::u16string creation_date; |
| // Last modified date of the attachment. It stores the arbitrary string saved |
| std::u16string modified_date; |
| // The flag that indicates whether the attachment can be retrieved |
| bool is_readable = false; |
| } // namespace chrome_pdf |
| #endif // PDF_DOCUMENT_ATTACHMENT_INFO_H_ |