#include "extensions/common/manifest_handlers/default_locale_handler.h"
#include <memory>
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension_l10n_util.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/strings/grit/extensions_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace extensions {
keys;
errors;
const std::string& LocaleInfo::GetDefaultLocale(const Extension* extension) { … }
DefaultLocaleHandler::DefaultLocaleHandler() { … }
DefaultLocaleHandler::~DefaultLocaleHandler() { … }
bool DefaultLocaleHandler::Parse(Extension* extension, std::u16string* error) { … }
bool DefaultLocaleHandler::Validate(
const Extension* extension,
std::string* error,
std::vector<InstallWarning>* warnings) const { … }
bool DefaultLocaleHandler::AlwaysValidateForType(Manifest::Type type) const { … }
base::span<const char* const> DefaultLocaleHandler::Keys() const { … }
}