5#ifndef TESTING_V8_INITIALIZER_H_
6#define TESTING_V8_INITIALIZER_H_
12#error "V8 must be enabled"
17#ifdef V8_USE_EXTERNAL_STARTUP_DATA
22#ifdef V8_USE_EXTERNAL_STARTUP_DATA
24std::unique_ptr<v8::Platform> InitializeV8ForPDFiumWithStartupData(
25 const std::string& exe_path,
26 const std::string& js_flags,
27 const std::string& bin_dir,
28 v8::StartupData* snapshot_blob);
31 const std::string& js_flags,
32 const std::string& exe_path);
std::unique_ptr< v8::Platform > InitializeV8ForPDFium(const std::string &exe_path, const std::string &js_flags)
void ShutdownV8ForPDFium()