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

Unified Diff: chrome/browser/search/thumbnail_source.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: chrome/browser/search/thumbnail_source.h
diff --git a/chrome/browser/search/thumbnail_source.h b/chrome/browser/search/thumbnail_source.h
index 78e10500340ff02818819f7f88447085d5f3bb86..e7a6e792adf6ba484ed631d4750976f39e1087c4 100644
--- a/chrome/browser/search/thumbnail_source.h
+++ b/chrome/browser/search/thumbnail_source.h
@@ -26,6 +26,7 @@ class Image;
namespace image_fetcher {
class ImageFetcher;
+struct RequestMetadata;
}
namespace thumbnails {
@@ -64,7 +65,8 @@ class ThumbnailSource : public content::URLDataSource {
void SendFetchedUrlImage(
const content::URLDataSource::GotDataCallback& callback,
const std::string& url,
- const gfx::Image& image);
+ const gfx::Image& image,
+ const image_fetcher::RequestMetadata& metadata);
// Raw PNG representation of the thumbnail to show when the thumbnail
// database doesn't have a thumbnail for a webpage.
« no previous file with comments | « chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc ('k') | chrome/browser/search/thumbnail_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698