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

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: Stop using FAVICON; fixing #include. 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
« no previous file with comments | « no previous file | components/favicon/core/browser/favicon_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6544d954a7648e0e5b9f5c1c363a91cf7a71d609 100644
--- a/components/favicon/core/browser/favicon_service.h
+++ b/components/favicon/core/browser/favicon_service.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_SERVICE_H_
#define COMPONENTS_FAVICON_CORE_BROWSER_FAVICON_SERVICE_H_
+#include <hash_set>
#include <vector>
#include "base/callback.h"
@@ -128,6 +129,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698