chromium/third_party/blink/renderer/core/exported/web_v8_features.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/web/web_v8_features.h"

#include "third_party/blink/public/mojom/browser_interface_broker.mojom-forward.h"
#include "third_party/blink/public/platform/cross_variant_mojo_util.h"
#include "third_party/blink/renderer/core/context_features/context_feature_settings.h"
#include "third_party/blink/renderer/core/workers/worker_backing_thread.h"
#include "third_party/blink/renderer/platform/bindings/dom_wrapper_world.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/scheduler/public/main_thread.h"
#include "third_party/blink/renderer/platform/scheduler/public/main_thread_scheduler.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "v8/include/v8.h"

namespace blink {
namespace {

v8::Isolate::Priority ToIsolatePriority(base::Process::Priority priority) {}

}  // namespace

// static
void WebV8Features::EnableMojoJS(v8::Local<v8::Context> context, bool enable) {}

// static
void WebV8Features::EnableMojoJSAndUseBroker(
    v8::Local<v8::Context> context,
    CrossVariantMojoRemote<mojom::BrowserInterfaceBrokerInterfaceBase>
        broker_remote) {}

// static
void WebV8Features::EnableMojoJSFileSystemAccessHelper(
    v8::Local<v8::Context> context,
    bool enable) {}

// static
void WebV8Features::InitializeMojoJSAllowedProtectedMemory() {}

// static
void WebV8Features::AllowMojoJSForProcess() {}

// static
bool WebV8Features::IsMojoJSEnabledForTesting(v8::Local<v8::Context> context) {}

// static
void WebV8Features::EnableMojoJSWithoutSecurityChecksForTesting(
    v8::Local<v8::Context> context) {}

// static
void WebV8Features::SetIsolatePriority(base::Process::Priority priority) {}

}  // namespace blink