| Index: components/history/core/browser/thumbnail_database.h
|
| diff --git a/components/history/core/browser/thumbnail_database.h b/components/history/core/browser/thumbnail_database.h
|
| index 697faf3abec0a6d18d3dc8639ae869e732116ad8..f9ba1c71de4af21f3d4139f659438e488dfa0c87 100644
|
| --- a/components/history/core/browser/thumbnail_database.h
|
| +++ b/components/history/core/browser/thumbnail_database.h
|
| @@ -66,6 +66,11 @@ class ThumbnailDatabase {
|
| // true try to trim all unused cache, otherwise trim by half.
|
| void TrimMemory(bool aggressively);
|
|
|
| + // Get all on-demand favicon bitmaps that have been last requested prior to
|
| + // |threshold|.
|
| + std::map<favicon_base::FaviconID, IconMappingsForExpiry>
|
| + GetOldOnDemandFavicons(base::Time threshold);
|
| +
|
| // Favicon Bitmaps -----------------------------------------------------------
|
|
|
| // Returns true if there are favicon bitmaps for |icon_id|. If
|
| @@ -200,6 +205,10 @@ class ThumbnailDatabase {
|
| // Returns true if the deletion succeeded.
|
| bool DeleteIconMappings(const GURL& page_url);
|
|
|
| + // Deletes the icon mapping entries for the given favicon ID.
|
| + // Returns true if the deletion succeeded.
|
| + bool DeleteIconMappingsForFaviconId(favicon_base::FaviconID id);
|
| +
|
| // Deletes the icon mapping with |mapping_id|.
|
| // Returns true if the deletion succeeded.
|
| bool DeleteIconMapping(IconMappingID mapping_id);
|
|
|