Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
index 599bc7323634e4e5364e11605d4b12affff2ff7b..b6293c8760b797a4d75fa7beecb91ea2d42d301d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
@@ -69,6 +69,8 @@ class WorkerGlobalScope; |
class WorkerOrWorkletGlobalScope; |
class XPathNSResolver; |
+using initializeOriginTrialsFunction = void (*)(v8::Local<v8::Context>, const DOMWrapperWorld&); |
+ |
template <typename T> |
struct V8TypeOf { |
STATIC_ONLY(V8TypeOf); |
@@ -838,6 +840,8 @@ CORE_EXPORT LocalDOMWindow* currentDOMWindow(v8::Isolate*); |
CORE_EXPORT LocalDOMWindow* callingDOMWindow(v8::Isolate*); |
CORE_EXPORT ExecutionContext* toExecutionContext(v8::Local<v8::Context>); |
CORE_EXPORT void registerToExecutionContextForModules(ExecutionContext* (*toExecutionContextForModules)(v8::Local<v8::Context>)); |
+CORE_EXPORT void initializeOriginTrials(v8::Local<v8::Context>, const DOMWrapperWorld&); |
+CORE_EXPORT initializeOriginTrialsFunction setInitializeOriginTrialsFunction(initializeOriginTrialsFunction); |
CORE_EXPORT ExecutionContext* currentExecutionContext(v8::Isolate*); |
CORE_EXPORT ExecutionContext* enteredExecutionContext(v8::Isolate*); |