#include "chrome/browser/enterprise/signals/signals_utils.h"
#include "base/check.h"
#include "build/build_config.h"
#include "chrome/common/pref_names.h"
#include "components/policy/content/policy_blocklist_service.h"
#include "components/policy/core/browser/url_blocklist_manager.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#if BUILDFLAG(IS_WIN)
#include "components/component_updater/pref_names.h"
#endif
namespace enterprise_signals {
namespace utils {
namespace {
bool IsURLBlocked(const GURL& url, PolicyBlocklistService* service) { … }
}
safe_browsing::SafeBrowsingState GetSafeBrowsingProtectionLevel(
PrefService* profile_prefs) { … }
std::optional<bool> GetThirdPartyBlockingEnabled(PrefService* local_state) { … }
bool GetBuiltInDnsClientEnabled(PrefService* local_state) { … }
std::optional<safe_browsing::PasswordProtectionTrigger>
GetPasswordProtectionWarningTrigger(PrefService* profile_prefs) { … }
bool GetChromeRemoteDesktopAppBlocked(PolicyBlocklistService* service) { … }
}
}