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

Unified Diff: components/favicon/core/browser/favicon_service.h

Issue 1018733002: [Icons NTP] FaviconService: Add method to retrieve large icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: components/favicon/core/browser/favicon_service.h
diff --git a/components/favicon/core/browser/favicon_service.h b/components/favicon/core/browser/favicon_service.h
index 4149344915129b635a44bcce0468bc1f17a73e25..af2718c91220b7cdbc78e06b124972d186174dc6 100644
--- a/components/favicon/core/browser/favicon_service.h
+++ b/components/favicon/core/browser/favicon_service.h
@@ -128,6 +128,13 @@ class FaviconService : public KeyedService {
const favicon_base::FaviconResultsCallback& callback,
base::CancelableTaskTracker* tracker);
+ // Requests a generic large icon, not caring about which type.
+ base::CancelableTaskTracker::TaskId GetGenericLargeIconForPageURL(
+ const GURL& page_url,
+ int desired_size_in_pixel,
+ const favicon_base::FaviconRawBitmapCallback& callback,
+ base::CancelableTaskTracker* tracker);
+
// Set the favicon mappings to |page_url| for |icon_types| in the history
// database.
// Sample |icon_urls|:
« no previous file with comments | « no previous file | components/favicon/core/browser/favicon_service.cc » ('j') | components/favicon/core/browser/favicon_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698