chromium/extensions/common/icons/extension_icon_variant.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/common/icons/extension_icon_variant.h"

#include <optional>
#include <vector>

#include "extensions/common/manifest_handler_helpers.h"

namespace extensions {

namespace {

// Convert a string representation of a `"color_scheme"` to an enum value.
std::optional<ExtensionIconVariant::ColorScheme> MaybeGetColorScheme(
    const std::string& color_scheme) {}

}  // namespace

ExtensionIconVariant::ExtensionIconVariant() = default;

ExtensionIconVariant::~ExtensionIconVariant() = default;

ExtensionIconVariant::ExtensionIconVariant(ExtensionIconVariant&& other) =
    default;

// Add color schemes if the input value is valid and has valid color_schemes.
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 {}

}  // namespace extensions