#ifndef COMPONENTS_SAFE_BROWSING_CORE_BROWSER_USER_POPULATION_H_
#define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_USER_POPULATION_H_
#include <optional>
#include "base/feature_list.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
class PrefService;
namespace policy {
class BrowserPolicyConnector;
}
namespace safe_browsing {
ChromeUserPopulation::UserPopulation GetUserPopulationPref(PrefService* prefs);
void GetExperimentStatus(const std::vector<const base::Feature*>& experiments,
ChromeUserPopulation* population);
ChromeUserPopulation GetUserPopulation(
PrefService* prefs,
bool is_incognito,
bool is_history_sync_active,
bool is_signed_in,
bool is_under_advanced_protection,
const policy::BrowserPolicyConnector* browser_policy_connector,
std::optional<size_t> num_profiles,
std::optional<size_t> num_loaded_profiles,
std::optional<size_t> num_open_profiles);
}
#endif