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

Unified Diff: components/suggestions/image_manager.h

Issue 1974013002: Replace SkBitmap with gfx::Image in the ImageFetcher API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync again Created 4 years, 7 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_snippets/ntp_snippets_service.cc ('k') | components/suggestions/image_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/image_manager.h
diff --git a/components/suggestions/image_manager.h b/components/suggestions/image_manager.h
index b72f76ce7031cc416a906a7d3a4ee8c9d5007b77..518000d57f1c9e32519052e60ccfc2084d5b70ae 100644
--- a/components/suggestions/image_manager.h
+++ b/components/suggestions/image_manager.h
@@ -61,8 +61,10 @@ class ImageManager : public image_fetcher::ImageFetcherDelegate {
base::Callback<void(const GURL&, const SkBitmap*)> callback);
protected:
+ // Methods inherited from image_fetcher::ImageFetcherDelegate
+
// Perform additional tasks when an image has been fetched.
- void OnImageFetched(const GURL& url, const SkBitmap* bitmap) override;
+ void OnImageFetched(const GURL& url, const gfx::Image& image) override;
private:
friend class MockImageManager;
« no previous file with comments | « components/ntp_snippets/ntp_snippets_service.cc ('k') | components/suggestions/image_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698