chromium/components/privacy_sandbox/tracking_protection_settings.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/check.h"
#include "base/feature_list.h"
#include "base/time/time.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/features.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/prefs/pref_service.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
#include "components/privacy_sandbox/privacy_sandbox_prefs.h"
#include "components/privacy_sandbox/tracking_protection_prefs.h"
#include "components/privacy_sandbox/tracking_protection_settings_observer.h"
#include "url/gurl.h"

namespace privacy_sandbox {

TrackingProtectionSettings::TrackingProtectionSettings(
    PrefService* pref_service,
    HostContentSettingsMap* host_content_settings_map,
    bool is_incognito)
    :{}

TrackingProtectionSettings::~TrackingProtectionSettings() = default;

void TrackingProtectionSettings::Shutdown() {}

bool TrackingProtectionSettings::IsTrackingProtection3pcdEnabled() const {}

bool TrackingProtectionSettings::AreAllThirdPartyCookiesBlocked() const {}

bool TrackingProtectionSettings::IsIpProtectionEnabled() const {}

bool TrackingProtectionSettings::IsDoNotTrackEnabled() const {}

void TrackingProtectionSettings::AddTrackingProtectionException(
    const GURL& first_party_url,
    bool is_user_bypass_exception) {}

void TrackingProtectionSettings::RemoveTrackingProtectionException(
    const GURL& first_party_url) {}

ContentSetting TrackingProtectionSettings::GetTrackingProtectionSetting(
    const GURL& first_party_url,
    content_settings::SettingInfo* info) const {}

void TrackingProtectionSettings::MaybeInitializeIppPref() {}

// TODO(https://b/333527273): Delete with Mode B cleanup
void TrackingProtectionSettings::OnEnterpriseControlForPrefsChanged() {}

void TrackingProtectionSettings::MigrateUserBypassExceptions(
    ContentSettingsType from,
    ContentSettingsType to) {}

void TrackingProtectionSettings::OnDoNotTrackEnabledPrefChanged() {}

void TrackingProtectionSettings::OnIpProtectionPrefChanged() {}

void TrackingProtectionSettings::OnBlockAllThirdPartyCookiesPrefChanged() {}

void TrackingProtectionSettings::OnTrackingProtection3pcdPrefChanged() {}

void TrackingProtectionSettings::AddObserver(
    TrackingProtectionSettingsObserver* observer) {}

void TrackingProtectionSettings::RemoveObserver(
    TrackingProtectionSettingsObserver* observer) {}

}  // namespace privacy_sandbox