chromium/chrome/browser/icon_manager.cc

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/icon_manager.h"

#include <memory>
#include <tuple>

#include "base/functional/bind.h"
#include "base/task/task_runner.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"

namespace {

void RunCallbackIfNotCanceled(
    const base::CancelableTaskTracker::IsCanceledCallback& is_canceled,
    IconManager::IconRequestCallback callback,
    gfx::Image image) {}

}  // namespace

IconManager::IconManager() = default;

IconManager::~IconManager() = default;

gfx::Image* IconManager::LookupIconFromFilepath(const base::FilePath& file_path,
                                                IconLoader::IconSize size,
                                                float scale) {}

base::CancelableTaskTracker::TaskId IconManager::LoadIcon(
    const base::FilePath& file_path,
    IconLoader::IconSize size,
    float scale,
    IconRequestCallback callback,
    base::CancelableTaskTracker* tracker) {}

gfx::Image* IconManager::DoLookupIconFromFilepath(
    const base::FilePath& file_path,
    IconLoader::IconSize size,
    float scale) {}

void IconManager::OnIconLoaded(IconRequestCallback callback,
                               base::FilePath file_path,
                               IconLoader::IconSize size,
                               float scale,
                               gfx::Image result,
                               const IconLoader::IconGroup& group) {}

IconManager::CacheKey::CacheKey(const IconLoader::IconGroup& group,
                                IconLoader::IconSize size,
                                float scale)
    :{}

bool IconManager::CacheKey::operator<(const CacheKey& other) const {}