#include "components/user_manager/multi_user/multi_user_sign_in_policy.h"
#include "base/check_op.h"
#include "base/containers/fixed_flat_map.h"
#include "components/prefs/pref_service.h"
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager_pref_names.h"
namespace user_manager {
namespace {
constexpr auto kPolicyMap = …;
}
std::string_view MultiUserSignInPolicyToPrefValue(
MultiUserSignInPolicy policy) { … }
std::optional<MultiUserSignInPolicy> ParseMultiUserSignInPolicyPref(
std::string_view s) { … }
std::optional<MultiUserSignInPolicy> GetMultiUserSignInPolicy(
const User* user) { … }
}