#include "components/policy/core/common/device_local_account_type.h"
#include <string_view>
#include "base/containers/fixed_flat_map.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "google_apis/gaia/gaia_auth_util.h"
namespace policy {
namespace {
constexpr auto kDomainPrefixMap = …;
constexpr char kDeviceLocalAccountDomainSuffix[] = …;
}
bool IsValidDeviceLocalAccountType(int value) { … }
std::string GenerateDeviceLocalAccountUserId(std::string_view account_id,
DeviceLocalAccountType type) { … }
base::expected<DeviceLocalAccountType, GetDeviceLocalAccountTypeError>
GetDeviceLocalAccountType(std::string_view user_id) { … }
bool IsDeviceLocalAccountUser(std::string_view user_id) { … }
}