#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 = …;
const ExtensionIconSet& IconsInfo::GetIcons(const Extension* extension) { … }
ExtensionResource IconsInfo::GetIconResource(
const Extension* extension,
int size_in_px,
ExtensionIconSet::Match match_type) { … }
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 { … }
}