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

Unified Diff: chrome/browser/android/ntp/most_visited_sites.h

Issue 2000653002: Replace the usage of SkBitmap with gfx::Image in the suggestion service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace SkBitmap with gfx::Image in the suggestions_service interface 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/android/ntp/most_visited_sites.h
diff --git a/chrome/browser/android/ntp/most_visited_sites.h b/chrome/browser/android/ntp/most_visited_sites.h
index 14b3e636a238272ea55742e40f5addd24c8b8455..d6bdb125b9a2220fd94a1a060fd519f6f108aa73 100644
--- a/chrome/browser/android/ntp/most_visited_sites.h
+++ b/chrome/browser/android/ntp/most_visited_sites.h
@@ -23,6 +23,10 @@
#include "components/suggestions/suggestions_service.h"
#include "url/gurl.h"
+namespace gfx {
+class Image;
+}
+
namespace history {
class TopSites;
}
@@ -220,7 +224,7 @@ class MostVisitedSites : public history::TopSitesObserver,
bool is_local_thumbnail,
const ThumbnailCallback& callback,
const GURL& url,
- const SkBitmap* bitmap);
+ const gfx::Image& bitmap);
// Records thumbnail-related UMA histogram metrics.
void RecordThumbnailUMAMetrics();
« no previous file with comments | « no previous file | chrome/browser/android/ntp/most_visited_sites.cc » ('j') | chrome/browser/android/ntp/most_visited_sites.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698