#ifndef EXTENSIONS_BROWSER_L10N_FILE_UTIL_H_
#define EXTENSIONS_BROWSER_L10N_FILE_UTIL_H_
#include <memory>
#include <string>
#include <vector>
#include "extensions/common/extension_id.h"
#include "extensions/common/message_bundle.h"
namespace base {
class FilePath;
}
namespace extension_l10n_util {
enum class GzippedMessagesPermission;
}
namespace extensions::l10n_file_util {
std::unique_ptr<MessageBundle::SubstitutionMap>
LoadMessageBundleSubstitutionMap(
const base::FilePath& extension_path,
const ExtensionId& extension_id,
const std::string& default_locale,
extension_l10n_util::GzippedMessagesPermission gzip_permission);
std::unique_ptr<MessageBundle::SubstitutionMap>
LoadNonLocalizedMessageBundleSubstitutionMap(const ExtensionId& extension_id);
std::unique_ptr<MessageBundle::SubstitutionMap>
LoadMessageBundleSubstitutionMapFromPaths(
const std::vector<base::FilePath>& paths,
const ExtensionId& extension_id,
const std::string& default_locale,
extension_l10n_util::GzippedMessagesPermission gzip_permission);
}
#endif