summaryrefslogtreecommitdiff
path: root/testing/test_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_support.h')
-rw-r--r--testing/test_support.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/test_support.h b/testing/test_support.h
index 7795be4214..146582251f 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -6,18 +6,13 @@
#define TESTING_TEST_SUPPORT_H_
#include <stdlib.h>
+
#include <memory>
#include <string>
#include <vector>
-#include "core/fdrm/crypto/fx_crypt.h"
#include "public/fpdf_save.h"
#include "public/fpdfview.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-#ifdef PDF_ENABLE_V8
-#include "v8/include/v8.h"
-#endif // PDF_ENABLE_V8
namespace pdfium {
@@ -81,7 +76,13 @@ std::string CryptToBase16(const uint8_t* digest);
std::string GenerateMD5Base16(const uint8_t* data, uint32_t size);
#ifdef PDF_ENABLE_V8
+namespace v8 {
+class Platform;
+}
#ifdef V8_USE_EXTERNAL_STARTUP_DATA
+namespace v8 {
+class StartupData;
+}
bool InitializeV8ForPDFium(const std::string& exe_path,
const std::string& bin_dir,
v8::StartupData* natives_blob,