#include "ui/base/webui/jstemplate_builder.h"
#include <string_view>
#include "base/check.h"
#include "base/json/json_file_value_serializer.h"
#include "base/json/json_string_value_serializer.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "build/chromeos_buildflags.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/template_expressions.h"
#include "ui/resources/grit/webui_resources.h"
namespace webui {
namespace {
void AppendJsonHtml(const base::Value::Dict& json, std::string* output) { … }
void AppendLoadTimeData(std::string* output) { … }
}
std::string GetI18nTemplateHtml(std::string_view html_template,
const base::Value::Dict& json) { … }
void AppendJsonJS(const base::Value::Dict& json,
std::string* output,
bool from_js_module) { … }
}