chromium/components/policy/core/browser/webui/json_generation.cc

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

#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) {}

}  // namespace policy