#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)
: … { … }
const char ContextFeatureSettings::kSupplementName[] = …;
DEFINE_PROTECTED_DATA base::ProtectedMemory<bool>
ContextFeatureSettings::mojo_js_allowed_;
ContextFeatureSettings* ContextFeatureSettings::From(
ExecutionContext* context,
CreationMode creation_mode) { … }
void ContextFeatureSettings::InitializeMojoJSAllowedProtectedMemory() { … }
void ContextFeatureSettings::AllowMojoJSForProcess() { … }
void ContextFeatureSettings::CrashIfMojoJSNotAllowed() { … }
void ContextFeatureSettings::Trace(Visitor* visitor) const { … }
bool ContextFeatureSettings::isMojoJSEnabled() const { … }
}