chromium/chrome/browser/privacy_sandbox/tracking_protection_settings_browsertest.cc

// Copyright 2023 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/privacy_sandbox/tracking_protection_settings.h"

#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/privacy_sandbox/tracking_protection_settings_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/policy/core/browser/browser_policy_connector.h"
#include "components/policy/core/common/mock_configuration_policy_provider.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
#include "components/privacy_sandbox/tracking_protection_prefs.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"

class TrackingProtectionSettingsMetricsBrowserTest
    : public InProcessBrowserTest {};

IN_PROC_BROWSER_TEST_F(TrackingProtectionSettingsMetricsBrowserTest,
                       RecordsMetricsOnStartup) {}

class TrackingProtectionSettingsForEnterpriseBrowserTest
    : public InProcessBrowserTest,
      public testing::WithParamInterface<bool> {};

IN_PROC_BROWSER_TEST_P(TrackingProtectionSettingsForEnterpriseBrowserTest,
                       ReflectsEnterpriseStateOnStartup) {}

INSTANTIATE_TEST_SUITE_P();

class TrackingProtectionSettingsIppInitializationBrowserTest
    : public InProcessBrowserTest,
      public testing::WithParamInterface<bool> {};

IN_PROC_BROWSER_TEST_P(TrackingProtectionSettingsIppInitializationBrowserTest,
                       DogfoodDefaultOnFeatureInitializesPrefToEnabled) {}

INSTANTIATE_TEST_SUITE_P();

class TrackingProtectionSettingsExceptionsMigrationBrowserTest
    : public InProcessBrowserTest,
      public testing::WithParamInterface<std::tuple<bool, bool>> {};

IN_PROC_BROWSER_TEST_P(TrackingProtectionSettingsExceptionsMigrationBrowserTest,
                       PRE_MigratesExceptionsBasedOnPrefAndFeature) {}

IN_PROC_BROWSER_TEST_P(TrackingProtectionSettingsExceptionsMigrationBrowserTest,
                       MigratesExceptionsBasedOnPrefAndFeature) {}

INSTANTIATE_TEST_SUITE_P();