#include "extensions/common/manifest_handler_helpers.h"
#include <stddef.h>
#include <optional>
#include <string_view>
#include "base/check.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/constants.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/extension.h"
#include "extensions/common/icons/extension_icon_set.h"
#include "extensions/common/manifest_constants.h"
namespace extensions {
errors;
namespace 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) { … }
}
}