// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_ICON_LOADER_H_ #define CHROME_BROWSER_ICON_LOADER_H_ #include "base/files/file_path.h" #include "base/functional/callback.h" #include "base/task/single_thread_task_runner.h" #include "base/task/task_traits.h" #include "build/build_config.h" #include "content/public/browser/browser_thread.h" #include "ui/gfx/image/image.h" //////////////////////////////////////////////////////////////////////////////// // // A facility to read a file containing an icon asynchronously in the IO // thread. Returns the icon in the form of an ImageSkia. // //////////////////////////////////////////////////////////////////////////////// class IconLoader { … }; #endif // CHROME_BROWSER_ICON_LOADER_H_