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

Unified Diff: chrome/browser/search/thumbnail_source.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 | « chrome/browser/search/thumbnail_source.h ('k') | components/image_fetcher/image_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/thumbnail_source.cc
diff --git a/chrome/browser/search/thumbnail_source.cc b/chrome/browser/search/thumbnail_source.cc
index cbfbb87e37823b2b8e4b093350996a9d74a6b6f0..097a16d30828f109bb36ff4dd0476edf1999aff5 100644
--- a/chrome/browser/search/thumbnail_source.cc
+++ b/chrome/browser/search/thumbnail_source.cc
@@ -119,7 +119,8 @@ void ThumbnailSource::ExtractPageAndThumbnailUrls(
void ThumbnailSource::SendFetchedUrlImage(
const content::URLDataSource::GotDataCallback& callback,
const std::string& url,
- const gfx::Image& image) {
+ const gfx::Image& image,
+ const image_fetcher::RequestMetadata& metadata) {
// In case the image could not be retrieved an empty image is returned.
if (image.IsEmpty()) {
callback.Run(default_thumbnail_.get());
« no previous file with comments | « chrome/browser/search/thumbnail_source.h ('k') | components/image_fetcher/image_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698