chromium/extensions/common/manifest_handlers/icons_handler.cc

// Copyright 2014 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/manifest_handlers/icons_handler.h"

#include <memory>

#include "base/files/file_util.h"
#include "base/lazy_instance.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/file_util.h"
#include "extensions/common/image_util.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/manifest_handler_helpers.h"
#include "extensions/strings/grit/extensions_strings.h"
#include "ui/gfx/geometry/size.h"

namespace extensions {

keys;

static base::LazyInstance<ExtensionIconSet>::DestructorAtExit g_empty_icon_set =;

// static
const ExtensionIconSet& IconsInfo::GetIcons(const Extension* extension) {}

// static
ExtensionResource IconsInfo::GetIconResource(
    const Extension* extension,
    int size_in_px,
    ExtensionIconSet::Match match_type) {}

// static
GURL IconsInfo::GetIconURL(const Extension* extension,
                           int size_in_px,
                           ExtensionIconSet::Match match_type) {}

IconsHandler::IconsHandler() = default;

IconsHandler::~IconsHandler() = default;

bool IconsHandler::Parse(Extension* extension, std::u16string* error) {}

bool IconsHandler::Validate(const Extension* extension,
                            std::string* error,
                            std::vector<InstallWarning>* warnings) const {}

base::span<const char* const> IconsHandler::Keys() const {}

}  // namespace extensions