#include "components/safe_browsing/core/browser/user_population.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial.h"
#include "base/strings/strcat.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "components/safe_browsing/core/common/utils.h"
#include "components/unified_consent/pref_names.h"
#include "components/version_info/version_info.h"
namespace safe_browsing {
ChromeUserPopulation::UserPopulation GetUserPopulationPref(PrefService* prefs) { … }
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) { … }
void GetExperimentStatus(const std::vector<const base::Feature*>& experiments,
ChromeUserPopulation* population) { … }
}