Rename CJS_{KeyValue,GlobalData,GlobalVariableArray}.{h,cpp} to CFX_
Because these implement a typed value system akin to base::Value,
and do not call into any JavaScript at this layer. We can
reduce the number of simliar-sounding CJS_Global* names by using
the CFX_ prefix, and the CFX_ prefix hints that we should be
able someday to write a unit test for this without needing JS.
Rename CFX_GlobalVariableArray to CFX_GlobalArray for brevity.
Change-Id: I7e16760eb86c1690a68f8ac05c9a84a63f506556
Reviewed-on: https://pdfium-review.googlesource.com/c/44912
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fxjs/BUILD.gn b/fxjs/BUILD.gn
index 71551c3..433f726 100644
--- a/fxjs/BUILD.gn
+++ b/fxjs/BUILD.gn
@@ -24,6 +24,12 @@
if (pdf_enable_v8) {
sources += [
+ "cfx_globalarray.cpp",
+ "cfx_globalarray.h",
+ "cfx_globaldata.cpp",
+ "cfx_globaldata.h",
+ "cfx_keyvalue.cpp",
+ "cfx_keyvalue.h",
"cfx_v8.cpp",
"cfx_v8.h",
"cfxjs_engine.cpp",
@@ -60,16 +66,10 @@
"cjs_globalarrays.h",
"cjs_globalconsts.cpp",
"cjs_globalconsts.h",
- "cjs_globaldata.cpp",
- "cjs_globaldata.h",
- "cjs_globalvariablearray.cpp",
- "cjs_globalvariablearray.h",
"cjs_highlight.cpp",
"cjs_highlight.h",
"cjs_icon.cpp",
"cjs_icon.h",
- "cjs_keyvalue.cpp",
- "cjs_keyvalue.h",
"cjs_object.cpp",
"cjs_object.h",
"cjs_position.cpp",