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

Unified Diff: chrome/browser/search/thumbnail_source.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
Index: chrome/browser/search/thumbnail_source.h
diff --git a/chrome/browser/search/thumbnail_source.h b/chrome/browser/search/thumbnail_source.h
index 5e17f46d4108d523a8f925ca1cfda06fef95dc50..362ed394a70e482a8f09266e272b64610bd5bc51 100644
--- a/chrome/browser/search/thumbnail_source.h
+++ b/chrome/browser/search/thumbnail_source.h
@@ -21,6 +21,10 @@ namespace base {
class RefCountedMemory;
}
+namespace gfx {
+class Image;
+}
+
namespace image_fetcher {
class ImageFetcher;
}
@@ -61,7 +65,7 @@ class ThumbnailSource : public content::URLDataSource {
void SendFetchedUrlImage(
const content::URLDataSource::GotDataCallback& callback,
const GURL& url,
- const SkBitmap* bitmap);
+ const gfx::Image& image);
// 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