chromium/chrome/browser/ui/safety_hub/safety_hub_util.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 "chrome/browser/ui/safety_hub/safety_hub_util.h"

#include "chrome/browser/ui/safety_hub/safety_hub_constants.h"
#include "components/content_settings/core/common/features.h"

namespace safety_hub_util {

base::TimeDelta GetCleanUpThreshold() {}

// TODO(crbug/342210522): Refactor this to be cleaner.
bool IsUrlRevokedAbusiveNotification(HostContentSettingsMap* hcsm,
                                     const GURL& url) {}

bool IsUrlRevokedUnusedSite(HostContentSettingsMap* hcsm, const GURL& url) {}

ContentSettingsForOneType GetRevokedAbusiveNotificationPermissions(
    HostContentSettingsMap* hcsm) {}

base::Value GetRevokedAbusiveNotificationPermissionsSettingValue(
    HostContentSettingsMap* hcsm,
    GURL setting_url) {}

// TODO(crbug/342210522): Refactor this to be cleaner.
bool IsAbusiveNotificationRevocationIgnored(HostContentSettingsMap* hcsm,
                                            GURL setting_url) {}

void SetRevokedAbusiveNotificationPermission(
    HostContentSettingsMap* hcsm,
    GURL url,
    bool is_ignored,
    const content_settings::ContentSettingConstraints& constraints) {}

}  // namespace safety_hub_util