Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: components/ntp_tiles/icon_cacher_impl.h

Issue 2757643002: components/image_fetcher: Expose RequestMetadata from ImageFetcher (Closed)
Patch Set: logo_bridge Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 20c5922f89ff46a116589a55c30ec4862d1c34a0..5cd1ee7209a26c0e127c817a0345c892795223eb 100644
--- a/components/ntp_tiles/icon_cacher_impl.h
+++ b/components/ntp_tiles/icon_cacher_impl.h
@@ -28,6 +28,7 @@ class Image;
namespace image_fetcher {
class ImageFetcher;
+struct RequestMetadata;
} // namespace image_fetcher
namespace ntp_tiles {
@@ -52,7 +53,8 @@ class IconCacherImpl : public IconCacher {
void OnFaviconDownloaded(PopularSites::Site site,
const base::Closure& icon_available,
const std::string& id,
- const gfx::Image& fetched_image);
+ const gfx::Image& fetched_image,
+ const image_fetcher::RequestMetadata& metadata);
bool ProvideDefaultIcon(const PopularSites::Site& site);
void SaveIconForSite(const PopularSites::Site& site, const gfx::Image image);
« no previous file with comments | « components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc ('k') | components/ntp_tiles/icon_cacher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698