#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() { … }
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) { … }
bool IsAbusiveNotificationRevocationIgnored(HostContentSettingsMap* hcsm,
GURL setting_url) { … }
void SetRevokedAbusiveNotificationPermission(
HostContentSettingsMap* hcsm,
GURL url,
bool is_ignored,
const content_settings::ContentSettingConstraints& constraints) { … }
}