#include "components/policy/core/browser/webui/json_generation.h"
#include <memory>
#include "base/json/json_writer.h"
#include "base/strings/strcat.h"
#include "base/values.h"
#include "components/policy/core/browser/policy_conversions.h"
#include "components/policy/core/browser/policy_conversions_client.h"
#include "components/strings/grit/components_strings.h"
#include "components/version_info/version_info.h"
#include "ui/base/l10n/l10n_util.h"
namespace policy {
const char kChromeMetadataVersionKey[] = …;
const char kChromeMetadataOSKey[] = …;
const char kChromeMetadataPlatformKey[] = …;
const char kChromeMetadataRevisionKey[] = …;
JsonGenerationParams::JsonGenerationParams() = default;
JsonGenerationParams::~JsonGenerationParams() = default;
JsonGenerationParams::JsonGenerationParams(JsonGenerationParams&&) = default;
std::string GenerateJson(base::Value::Dict policy_values,
base::Value::Dict status,
const JsonGenerationParams& params) { … }
base::Value::Dict GetChromeMetadataValue(const JsonGenerationParams& params) { … }
}