| Index: components/ntp_tiles/icon_cacher_impl.h
|
| diff --git a/components/ntp_tiles/icon_cacher_impl.h b/components/ntp_tiles/icon_cacher_impl.h
|
| index 1028f72b29b7153cdd64706eaa4bc3623de11b41..20c5922f89ff46a116589a55c30ec4862d1c34a0 100644
|
| --- a/components/ntp_tiles/icon_cacher_impl.h
|
| +++ b/components/ntp_tiles/icon_cacher_impl.h
|
| @@ -39,19 +39,24 @@ class IconCacherImpl : public IconCacher {
|
| ~IconCacherImpl() override;
|
|
|
| void StartFetch(PopularSites::Site site,
|
| - const base::Callback<void(bool)>& done) override;
|
| + const base::Closure& icon_available,
|
| + const base::Closure& preliminary_icon_available) override;
|
|
|
| private:
|
| void OnGetFaviconImageForPageURLFinished(
|
| PopularSites::Site site,
|
| - const base::Callback<void(bool)>& done,
|
| + const base::Closure& icon_available,
|
| + const base::Closure& preliminary_icon_available,
|
| const favicon_base::FaviconImageResult& result);
|
|
|
| void OnFaviconDownloaded(PopularSites::Site site,
|
| - const base::Callback<void(bool)>& done,
|
| + const base::Closure& icon_available,
|
| const std::string& id,
|
| const gfx::Image& fetched_image);
|
|
|
| + bool ProvideDefaultIcon(const PopularSites::Site& site);
|
| + void SaveIconForSite(const PopularSites::Site& site, const gfx::Image image);
|
| +
|
| base::CancelableTaskTracker tracker_;
|
| favicon::FaviconService* const favicon_service_;
|
| std::unique_ptr<image_fetcher::ImageFetcher> const image_fetcher_;
|
|
|