chromium/components/tpcd/metadata/common/manager_base.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/tpcd/metadata/common/manager_base.h"

#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_rules.h"
#include "components/content_settings/core/common/content_settings_utils.h"
#include "components/content_settings/core/common/host_indexed_content_settings.h"
#include "net/base/features.h"

namespace tpcd::metadata::common {
ManagerBase::ManagerBase() = default;
ManagerBase::~ManagerBase() = default;

// Whether to bypass any available grants from the Third Party Cookie
// Deprecation TPCD Metadata.
bool IgnoreTpcdDtGracePeriodMetadataGrant(
    const content_settings::SettingInfo* info) {}

ContentSetting ManagerBase::GetContentSetting(
    const content_settings::HostIndexedContentSettings& grants,
    const GURL& third_party_url,
    const GURL& first_party_url,
    content_settings::SettingInfo* out_info) const {}

ContentSettingsForOneType ManagerBase::GetContentSettingForOneType(
    const content_settings::HostIndexedContentSettings& grants) const {}
}  // namespace tpcd::metadata::common