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

Unified Diff: components/suggestions/image_manager.cc

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
« no previous file with comments | « components/ntp_tiles/icon_cacher_impl_unittest.cc ('k') | components/suggestions/image_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/image_manager.cc
diff --git a/components/suggestions/image_manager.cc b/components/suggestions/image_manager.cc
index b3aee7fb581dc404bdcd2c1a3a2c4a942917afe4..0f451faa5bb9f8ffdd5b2be4d6a6ee43ffa5ee9d 100644
--- a/components/suggestions/image_manager.cc
+++ b/components/suggestions/image_manager.cc
@@ -34,7 +34,8 @@ std::unique_ptr<SkBitmap> DecodeImage(
void WrapCallback(
const suggestions::ImageManager::ImageCallback& wrapped_callback,
const std::string& url,
- const gfx::Image& image) {
+ const gfx::Image& image,
+ const image_fetcher::RequestMetadata& metadata) {
wrapped_callback.Run(GURL(url), image);
}
« no previous file with comments | « components/ntp_tiles/icon_cacher_impl_unittest.cc ('k') | components/suggestions/image_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698