blob: 0da1b3c2925a5810280a2323dc166c4332053bdd [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/common/extension_features.h"
namespace extensions_features {
// Enables enforcement of Cross-Origin Read Blocking (CORB) for most extension
// content scripts, except ones that are on an allowlist. See also
// and DoContentScriptsDependOnRelaxedCorb function in
// extensions/browser/
const base::Feature kBypassCorbOnlyForExtensionsAllowlist{
"BypassCorbOnlyForExtensionsAllowlist", base::FEATURE_ENABLED_BY_DEFAULT};
const char kBypassCorbAllowlistParamName[] = "BypassCorbExtensionsAllowlist";
// Enables new extension updater service.
const base::Feature kNewExtensionUpdaterService{
"NewExtensionUpdaterService", base::FEATURE_DISABLED_BY_DEFAULT};
// Forces requests to go through WebRequestProxyingURLLoaderFactory.
const base::Feature kForceWebRequestProxyForTest{
"ForceWebRequestProxyForTest", base::FEATURE_DISABLED_BY_DEFAULT};
} // namespace extensions_features