#include "chrome/browser/ui/webui/plural_string_handler.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/values.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/web_ui.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/strings/grit/ui_strings.h"
PluralStringHandler::PluralStringHandler() { … }
PluralStringHandler::~PluralStringHandler() { … }
void PluralStringHandler::RegisterMessages() { … }
void PluralStringHandler::AddLocalizedString(const std::string& name, int id) { … }
void PluralStringHandler::HandleGetPluralString(const base::Value::List& args) { … }
void PluralStringHandler::HandleGetPluralStringTupleWithComma(
const base::Value::List& args) { … }
void PluralStringHandler::HandleGetPluralStringTupleWithPeriods(
const base::Value::List& args) { … }
void PluralStringHandler::GetPluralStringTuple(const base::Value::List& args,
int string_tuple_id) { … }
std::u16string PluralStringHandler::GetPluralizedStringForMessageName(
std::string message_name,
int count) { … }