blob: 3b47f0cc29258f6cd6c6023a263532e1cb8df10f [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2021 The Chromium Authors
Wez3fbbced2021-07-26 13:13:272// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// TODO(crbug.com/1226242): Implement support for downloads under Fuchsia.
6
7#include "chrome/browser/icon_loader.h"
8
Greg Thompsonc4eb6f92022-02-09 14:12:099#include <utility>
10
Avi Drissman02e49e582023-01-07 01:23:1811#include "base/functional/bind.h"
12#include "base/functional/callback.h"
Greg Thompsonc4eb6f92022-02-09 14:12:0913#include "base/location.h"
14#include "base/memory/scoped_refptr.h"
Wez3fbbced2021-07-26 13:13:2715#include "base/notreached.h"
Greg Thompsonc4eb6f92022-02-09 14:12:0916#include "base/task/single_thread_task_runner.h"
17#include "base/task/thread_pool.h"
18#include "ui/gfx/image/image.h"
Wez3fbbced2021-07-26 13:13:2719
20// static
21IconLoader::IconGroup IconLoader::GroupForFilepath(
22 const base::FilePath& file_path) {
23 NOTIMPLEMENTED_LOG_ONCE();
Greg Thompsonc4eb6f92022-02-09 14:12:0924 return file_path.Extension();
Wez3fbbced2021-07-26 13:13:27