chromium/chrome/browser/enterprise/signals/signals_utils.cc

// Copyright 2021 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/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  // BUILDFLAG(IS_WIN)

namespace enterprise_signals {
namespace utils {

namespace {

bool IsURLBlocked(const GURL& url, PolicyBlocklistService* service) {}

}  // namespace

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) {}

}  // namespace utils
}  // namespace enterprise_signals