diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-08-22 13:30:20 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-22 19:57:40 +0000 |
commit | ed2f2769bf113df0088608fa5e949e3e48216a04 (patch) | |
tree | 0df568212aa0eba7beab98c74993c9a87fa9d52a /third_party/BUILD.gn | |
parent | 4a6525492593866be3653a8a37923fe876b5171e (diff) | |
download | pdfium-ed2f2769bf113df0088608fa5e949e3e48216a04.tar.xz |
Add pdfium::Optional to third_party/base
It is intended to use this class instead of the std::pair<bool, Foo*>
pattern that has been used for guarded pointer returns in PDFium.
Change-Id: Id3e305d6cdb329c84e1d827c855423d3efae42c0
Reviewed-on: https://pdfium-review.googlesource.com/11610
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index 029272d8fe..8aca5bb7fd 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -538,6 +538,7 @@ source_set("pdfium_base") { "base/numerics/safe_conversions_impl.h", "base/numerics/safe_math.h", "base/numerics/safe_math_impl.h", + "base/optional.h", "base/ptr_util.h", "base/stl_util.h", "base/sys_byteorder.h", |