#include "chrome/browser/profiles/profile_selections.h"
#include "base/memory/ptr_util.h"
#include "chrome/browser/profiles/profile.h"
#include "components/profile_metrics/browser_profile_type.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chromeos/ash/components/browser_context_helper/browser_context_types.h"
#endif
bool AreKeyedServicesDisabledForProfileByDefault(const Profile* profile) { … }
ProfileSelections::Builder::Builder()
: … { … }
ProfileSelections::Builder::~Builder() = default;
ProfileSelections::Builder& ProfileSelections::Builder::WithRegular(
ProfileSelection selection) { … }
ProfileSelections::Builder& ProfileSelections::Builder::WithGuest(
ProfileSelection selection) { … }
ProfileSelections::Builder& ProfileSelections::Builder::WithSystem(
ProfileSelection selection) { … }
ProfileSelections::Builder& ProfileSelections::Builder::WithAshInternals(
ProfileSelection selection) { … }
ProfileSelections ProfileSelections::Builder::Build() { … }
ProfileSelections::ProfileSelections() = default;
ProfileSelections::~ProfileSelections() = default;
ProfileSelections::ProfileSelections(const ProfileSelections& other) = default;
ProfileSelections ProfileSelections::BuildNoProfilesSelected() { … }
ProfileSelections ProfileSelections::BuildForRegularProfile() { … }
ProfileSelections ProfileSelections::BuildForRegularAndIncognito() { … }
ProfileSelections ProfileSelections::BuildRedirectedInIncognito() { … }
Profile* ProfileSelections::ApplyProfileSelection(Profile* profile) const { … }
ProfileSelection ProfileSelections::GetProfileSelection(
Profile* profile) const { … }
void ProfileSelections::SetProfileSelectionForRegular(
ProfileSelection selection) { … }
void ProfileSelections::SetProfileSelectionForGuest(
ProfileSelection selection) { … }
void ProfileSelections::SetProfileSelectionForSystem(
ProfileSelection selection) { … }
void ProfileSelections::SetProfileSelectionForAshInternals(
ProfileSelection selection) { … }