summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-07-27 14:01:32 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-07-28 00:03:54 +0000
commit834ebece214f06c6e9fda803ab321e8453b3a54b (patch)
tree259c4aead897943a48c99016d17cd63a04de5d12 /BUILD.gn
parent672a1721620c3f4e62fe6adfaceb929d423ae31f (diff)
downloadpdfium-834ebece214f06c6e9fda803ab321e8453b3a54b.tar.xz
Implement read validator.
The wrapper for IFX_SeekableReadStream. Which allow us to check data availability on read request and request downloading of non available data on fly. Change-Id: I27c66cd58f43f8432f73104cc3f4c980515a9b56 Reviewed-on: https://pdfium-review.googlesource.com/9050 Commit-Queue: Art Snake <art-snake@yandex-team.ru> Reviewed-by: (OOO Jul 28 - Aug 8) dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f2dbc6816f..db87b1631f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -605,6 +605,8 @@ static_library("fpdfapi") {
"core/fpdfapi/parser/cpdf_object.h",
"core/fpdfapi/parser/cpdf_parser.cpp",
"core/fpdfapi/parser/cpdf_parser.h",
+ "core/fpdfapi/parser/cpdf_read_validator.cpp",
+ "core/fpdfapi/parser/cpdf_read_validator.h",
"core/fpdfapi/parser/cpdf_reference.cpp",
"core/fpdfapi/parser/cpdf_reference.h",
"core/fpdfapi/parser/cpdf_security_handler.cpp",
@@ -1897,6 +1899,7 @@ test("pdfium_unittests") {
"core/fpdfapi/parser/cpdf_document_unittest.cpp",
"core/fpdfapi/parser/cpdf_object_unittest.cpp",
"core/fpdfapi/parser/cpdf_parser_unittest.cpp",
+ "core/fpdfapi/parser/cpdf_read_validator_unittest.cpp",
"core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",
"core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp",
"core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp",