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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_provider_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_snippets/remote/remote_suggestions_provider_impl.h
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_impl.h b/components/ntp_snippets/remote/remote_suggestions_provider_impl.h
index bc17c90bbb09192e4edfee83dd3bd5bd6d10ed5d..0d2f8df0436b67865b0c0f408949a53eff02eeb4 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_impl.h
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_impl.h
@@ -40,6 +40,7 @@ class Image;
namespace image_fetcher {
class ImageFetcher;
+struct RequestMetadata;
} // namespace image_fetcher
namespace ntp_snippets {
@@ -76,7 +77,8 @@ class CachedImageFetcher : public image_fetcher::ImageFetcherDelegate {
void OnImageDecodingDone(const ImageFetchedCallback& callback,
const std::string& id_within_category,
- const gfx::Image& image);
+ const gfx::Image& image,
+ const image_fetcher::RequestMetadata& metadata);
void OnImageFetchedFromDatabase(
const ImageFetchedCallback& callback,
const ContentSuggestion::ID& suggestion_id,
« no previous file with comments | « components/image_fetcher/image_fetcher_impl.cc ('k') | components/ntp_snippets/remote/remote_suggestions_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698