// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_NTP_TILES_ICON_CACHER_H_ #define COMPONENTS_NTP_TILES_ICON_CACHER_H_ #include "base/functional/callback.h" #include "components/ntp_tiles/popular_sites.h" namespace ntp_tiles { // Ensures that Popular Sites icons and MostLikely icons are cached, downloading // and saving them if not. // // Does not provide any way to get a fetched favicon; use the FaviconService / // LargeIconService for that. All this interface guarantees is that // FaviconService will be able to get you an icon (if it exists). class IconCacher { … }; } // namespace ntp_tiles #endif // COMPONENTS_NTP_TILES_ICON_CACHER_H_