chromium/chrome/browser/apps/user_type_filter.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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"  // nogncheck crbug.com/1420759
#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  // BUILDFLAG(IS_CHROMEOS)

namespace apps {

// kUserType is required key that specifies enumeration of user types for which
// web app is visible. See kUserType* constants
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) {}

}  // namespace apps