#include "chrome/browser/extensions/chrome_app_icon_loader.h"
#include "chrome/browser/extensions/chrome_app_icon.h"
#include "chrome/browser/extensions/chrome_app_icon_service.h"
#include "chrome/browser/extensions/extension_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/extension_constants.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handlers/icons_handler.h"
namespace extensions {
namespace {
const Extension* GetExtensionByID(Profile* profile, const std::string& id) { … }
}
ChromeAppIconLoader::ChromeAppIconLoader(Profile* profile,
int icon_size_in_dip,
const ResizeFunction& resize_function,
AppIconLoaderDelegate* delegate)
: … { … }
ChromeAppIconLoader::ChromeAppIconLoader(Profile* profile,
int icon_size_in_dip,
AppIconLoaderDelegate* delegate)
: … { … }
ChromeAppIconLoader::~ChromeAppIconLoader() { … }
bool ChromeAppIconLoader::CanLoadImageForApp(const std::string& id) { … }
void ChromeAppIconLoader::FetchImage(const std::string& id) { … }
void ChromeAppIconLoader::ClearImage(const std::string& id) { … }
void ChromeAppIconLoader::UpdateImage(const std::string& id) { … }
void ChromeAppIconLoader::SetExtensionsOnly() { … }
void ChromeAppIconLoader::OnIconUpdated(ChromeAppIcon* icon) { … }
}