chromium/components/fingerprinting_protection_filter/common/fingerprinting_protection_filter_features.cc

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

#include "components/fingerprinting_protection_filter/common/fingerprinting_protection_filter_features.h"

#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "components/subresource_filter/core/mojom/subresource_filter.mojom.h"

namespace fingerprinting_protection_filter::features {

// When enabled, loads the Fingerprinting Protection component and evaluates
// resource requests on certain pages against the Fingerprinting Protection
// blocklist, possibly blocks via a subresource filter.
BASE_FEATURE();

BASE_FEATURE();

bool IsFingerprintingProtectionFeatureEnabled() {}

bool IsFingerprintingProtectionEnabledInIncognito(bool is_incognito) {}

bool IsFingerprintingProtectionEnabledInNonIncognito(bool is_incognito) {}

bool IsFingerprintingProtectionEnabledForIncognitoState(bool is_incognito) {}

constexpr base::FeatureParam<subresource_filter::mojom::ActivationLevel>::Option
    kActivationLevelOptions[] =;

const base::FeatureParam<subresource_filter::mojom::ActivationLevel>
    kActivationLevel{};

const base::FeatureParam<bool> kEnableOn3pcBlocked{};

BASE_FEATURE();
}  // namespace fingerprinting_protection_filter::features