chromium/extensions/browser/test_image_loader.cc

// Copyright 2015 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/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;

// static
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) {}

}  // namespace extensions