summaryrefslogtreecommitdiff
path: root/testing/js_embedder_test.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-18 19:29:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-18 19:29:59 +0000
commit70156345b2a7bc57b8bfca5f3d58c34505ad6518 (patch)
tree68878a52ed8cbe6174038cf7396e040d6ccf45c8 /testing/js_embedder_test.h
parent378ec548964d57311faab4627e570566bd20aaa0 (diff)
downloadpdfium-70156345b2a7bc57b8bfca5f3d58c34505ad6518.tar.xz
Forward declare some fxjs/ classes.
And remove unnecessary fxjs/ #includes in header files. Change-Id: If89dd2717b6ba93dbb7493e8ca80d78deaa64b06 Reviewed-on: https://pdfium-review.googlesource.com/c/44270 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/js_embedder_test.h')
-rw-r--r--testing/js_embedder_test.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/js_embedder_test.h b/testing/js_embedder_test.h
index 6f694a7438..dca0bd76c2 100644
--- a/testing/js_embedder_test.h
+++ b/testing/js_embedder_test.h
@@ -7,8 +7,12 @@
#include <memory>
-#include "fxjs/cfxjs_engine.h"
+#include "fxjs/cfx_v8.h"
#include "testing/embedder_test.h"
+#include "v8/include/v8.h"
+
+class CFXJS_Engine;
+class CFX_V8ArrayBufferAllocator;
class JSEmbedderTest : public EmbedderTest {
public: