diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-27 21:17:06 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-27 21:17:06 +0000 |
commit | 125eb3093a4632ee519041201ca904680f3a2245 (patch) | |
tree | e7a238e2d38f4e2d4926a7b38818c1ce896c6e14 /fxjs/fxjse.cpp | |
parent | 6146214d30ab16825908fe6ef96cb6d597cc3ca9 (diff) | |
download | pdfium-125eb3093a4632ee519041201ca904680f3a2245.tar.xz |
Tag XFA data bound to V8 Objects.
Because we don't want to trust anything V8 gives us back.
Use a deep namespace so we can have a short declaration in the
structs, but avoid collisions.
Change-Id: Ibb832a5dcd34c652159c3343dd70c9e2ee561537
Reviewed-on: https://pdfium-review.googlesource.com/38972
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/fxjse.cpp')
-rw-r--r-- | fxjs/fxjse.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fxjs/fxjse.cpp b/fxjs/fxjse.cpp index 68adaa5dd3..44849fdfec 100644 --- a/fxjs/fxjse.cpp +++ b/fxjs/fxjse.cpp @@ -6,6 +6,15 @@ #include "fxjs/fxjse.h" +namespace pdfium { +namespace fxjse { + +const char kFuncTag[] = "function descriptor tag"; +const char kClassTag[] = "class descriptor tag"; + +} // namespace fxjse +} // namespace pdfium + CFXJSE_HostObject::CFXJSE_HostObject() = default; CFXJSE_HostObject::~CFXJSE_HostObject() = default; |