#include "extensions/browser/extension_icon_manager.h"
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "components/vector_icons/vector_icons.h"
#include "extensions/browser/image_loader.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/extension_resource.h"
#include "extensions/common/icons/extension_icon_set.h"
#include "extensions/common/manifest_handlers/icons_handler.h"
#include "skia/ext/image_operations.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/favicon_size.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia_operations.h"
#include "ui/gfx/paint_vector_icon.h"
namespace extensions {
ExtensionIconManager::ExtensionIconManager() { … }
ExtensionIconManager::~ExtensionIconManager() { … }
void ExtensionIconManager::LoadIcon(content::BrowserContext* context,
const Extension* extension) { … }
gfx::Image ExtensionIconManager::GetIcon(const ExtensionId& extension_id) { … }
void ExtensionIconManager::RemoveIcon(const ExtensionId& extension_id) { … }
void ExtensionIconManager::OnImageLoaded(const ExtensionId& extension_id,
const gfx::Image& image) { … }
void ExtensionIconManager::EnsureDefaultIcon() { … }
}