chromium/third_party/blink/renderer/core/context_features/context_feature_settings.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/renderer/core/context_features/context_feature_settings.h"

#include "base/memory/protected_memory.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"

namespace blink {

ContextFeatureSettings::ContextFeatureSettings(ExecutionContext& context)
    :{}

// static
const char ContextFeatureSettings::kSupplementName[] =;

DEFINE_PROTECTED_DATA base::ProtectedMemory<bool>
    ContextFeatureSettings::mojo_js_allowed_;

// static
ContextFeatureSettings* ContextFeatureSettings::From(
    ExecutionContext* context,
    CreationMode creation_mode) {}

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

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

// static
void ContextFeatureSettings::CrashIfMojoJSNotAllowed() {}

void ContextFeatureSettings::Trace(Visitor* visitor) const {}

bool ContextFeatureSettings::isMojoJSEnabled() const {}

}  // namespace blink