#include "chrome/browser/ui/webui/profile_internals/profile_internals_handler.h"
#include "base/containers/flat_set.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/json/values_util.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_attributes_entry.h"
#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/ui/profiles/profile_colors_util.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "content/public/browser/web_ui.h"
#include "skia/ext/skia_utils_base.h"
namespace {
base::Value::Dict CreateProfileEntry(
const ProfileAttributesEntry* entry,
const base::flat_set<base::FilePath>& loaded_profile_paths,
const base::flat_set<base::FilePath>& has_off_the_record_profile) { … }
}
ProfileInternalsHandler::ProfileInternalsHandler() = default;
ProfileInternalsHandler::~ProfileInternalsHandler() = default;
void ProfileInternalsHandler::RegisterMessages() { … }
void ProfileInternalsHandler::HandleGetProfilesList(
const base::Value::List& args) { … }
void ProfileInternalsHandler::PushProfilesList() { … }
base::Value::List ProfileInternalsHandler::GetProfilesList() { … }