#include "extensions/browser/test_image_loader.h"
#include "base/functional/bind.h"
#include "extensions/browser/image_loader.h"
#include "extensions/common/extension.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace extensions {
TestImageLoader::TestImageLoader() = default;
TestImageLoader::~TestImageLoader() = default;
SkBitmap TestImageLoader::LoadAndGetExtensionBitmap(
const Extension* extension,
const std::string& image_path,
int size) { … }
void TestImageLoader::OnImageLoaded(const gfx::Image& image) { … }
SkBitmap TestImageLoader::LoadAndGetBitmap(const Extension* extension,
const std::string& path,
int size) { … }
}