#ifndef EXTENSIONS_COMMON_MANIFEST_HANDLER_HELPERS_H_
#define EXTENSIONS_COMMON_MANIFEST_HANDLER_HELPERS_H_
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include "base/values.h"
class ExtensionIconSet;
namespace extensions::manifest_handler_helpers {
std::vector<std::string_view> TokenizeDictionaryPath(std::string_view path);
bool NormalizeAndValidatePath(std::string* path);
bool NormalizeAndValidatePath(const std::string& path,
std::string* normalized_path);
std::optional<int> LoadValidSizeFromString(const std::string& string_size);
bool LoadIconsFromDictionary(const base::Value::Dict& icons_value,
ExtensionIconSet* icons,
std::u16string* error);
}
#endif