#include "chrome/browser/apps/user_type_filter.h"
#include "base/logging.h"
#include "base/values.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/policy/profile_policy_connector.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_thread.h"
#if BUILDFLAG(IS_CHROMEOS)
#include "chromeos/components/mgs/managed_guest_session_utils.h"
#endif
namespace apps {
const char kKeyUserType[] = …;
const char kUserTypeChild[] = …;
const char kUserTypeGuest[] = …;
const char kUserTypeManaged[] = …;
const char kUserTypeManagedGuest[] = …;
const char kUserTypeUnmanaged[] = …;
std::string DetermineUserType(Profile* profile) { … }
bool UserTypeMatchesJsonUserType(const std::string& user_type,
const std::string& app_id,
const base::Value::Dict& json_root,
const base::Value::List* default_user_types) { … }
}