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

Unified Diff: chrome/browser/history/thumbnail_database.h

Issue 26563004: Find Favicon in priority of icon_type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a new method Created 7 years, 2 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/history/thumbnail_database.h
diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h
index 6ac1a2d42f927eceb6587e7a961515b73d28338c..1dc42bb50401238708496da044887d7254643c6c 100644
--- a/chrome/browser/history/thumbnail_database.h
+++ b/chrome/browser/history/thumbnail_database.h
@@ -177,6 +177,14 @@ class ThumbnailDatabase {
int required_icon_types,
std::vector<IconMapping>* mapping_data);
+ // Returns true if there are icon mappings for the given |page_url| and
+ // |required_icon_types|.
+ // The matched icon mappings are returned in the |mapping_data| parameter if
+ // it is not NULL.
+ bool GetAllIconMappingsForPageURL(const GURL& page_url,
+ int required_icon_types,
+ std::vector<IconMapping>* mapping_data);
+
// Returns true if there is any matched icon mapping for the given page.
// All matched icon mappings are returned in descent order of IconType if
// mapping_data is not NULL.

Powered by Google App Engine
This is Rietveld 408576698