#include "components/services/app_service/public/cpp/icon_loader.h"
#include <utility>
#include "base/functional/callback.h"
namespace apps {
IconLoader::Releaser::Releaser(std::unique_ptr<IconLoader::Releaser> next,
base::OnceClosure closure)
: … { … }
IconLoader::Releaser::~Releaser() { … }
IconLoader::Key::Key(const std::string& id,
const IconKey& icon_key,
IconType icon_type,
int32_t size_hint_in_dip,
bool allow_placeholder_icon)
: … { … }
IconLoader::Key::Key(const Key& other) = default;
bool IconLoader::Key::operator<(const Key& that) const { … }
IconLoader::IconLoader() = default;
IconLoader::~IconLoader() = default;
std::optional<IconKey> IconLoader::GetIconKey(const std::string& id) { … }
std::unique_ptr<IconLoader::Releaser> IconLoader::LoadIcon(
const std::string& id,
const IconType& icon_type,
int32_t size_hint_in_dip,
bool allow_placeholder_icon,
apps::LoadIconCallback callback) { … }
}