#include "extensions/common/icons/extension_icon_variant.h"
#include <optional>
#include <vector>
#include "extensions/common/manifest_handler_helpers.h"
namespace extensions {
namespace {
std::optional<ExtensionIconVariant::ColorScheme> MaybeGetColorScheme(
const std::string& color_scheme) { … }
}
ExtensionIconVariant::ExtensionIconVariant() = default;
ExtensionIconVariant::~ExtensionIconVariant() = default;
ExtensionIconVariant::ExtensionIconVariant(ExtensionIconVariant&& other) =
default;
void ExtensionIconVariant::MaybeAddColorSchemes(const base::Value& value) { … }
void ExtensionIconVariant::MaybeAddSizeEntry(
const std::pair<const std::string&, const base::Value&>& entry) { … }
std::unique_ptr<ExtensionIconVariant> ExtensionIconVariant::Parse(
const base::Value& value,
std::string* issue) { … }
bool ExtensionIconVariant::IsValid() const { … }
}