diff options
author | Jane Liu <janeliulwq@google.com> | 2017-07-11 15:16:08 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-12 20:12:44 +0000 |
commit | dc1aa325c22a3d6cd240efa9d35f9e175fe8455b (patch) | |
tree | ccaec7e2305811fc68e34091370dcb17221aab14 /.gitignore | |
parent | d79ac21b7595442bce82ec93f59cda9f8fb3cb24 (diff) | |
download | pdfium-dc1aa325c22a3d6cd240efa9d35f9e175fe8455b.tar.xz |
Added helper functions in the class CPDF_FileSpec
1. Added two helper functions in CPDF_FileSpec, which will be useful
when adding support for embedded files:
CPDF_FileSpec::GetFileStream() - useful because the stream object
contains the file's data
CPDF_FileSpec::GetParamsDict() - useful because the params dictionary
contains parameters of the file, such as creation date, size, etc.
* Added two unit tests testing both functions.
Bug=pdfium:174
Change-Id: I33ea21ddb621434007f94767f281ead0b00ecb8a
Reviewed-on: https://pdfium-review.googlesource.com/7355
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Jane Liu <janeliulwq@google.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions