| 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..78a9deec0a8c5906da87dec1a81c4d30275dc635 100644
|
| --- a/components/history/core/browser/thumbnail_database.h
|
| +++ b/components/history/core/browser/thumbnail_database.h
|
| @@ -66,6 +66,15 @@ class ThumbnailDatabase {
|
| // true try to trim all unused cache, otherwise trim by half.
|
| void TrimMemory(bool aggressively);
|
|
|
| + // Delete all on-demand favicon bitmaps that have not been requested long
|
| + // (i.e. not after |deletion_threshold|). Do not delete bitmaps for URLs
|
| + // that are bookmarked in |bookmark_model|. Furthermore, delete all favicons
|
| + // with no corresponding bitmap and all mappings with no corresponding
|
| + // favicon.
|
| + void ClearOldOnDemandFavicons(base::Time deletion_threshold);
|
| + void ClearOldOnDemandFaviconsOneByOne(base::Time deletion_threshold);
|
| + void ClearOldOnDemandFaviconsNoJoin(base::Time deletion_threshold);
|
| +
|
| // Favicon Bitmaps -----------------------------------------------------------
|
|
|
| // Returns true if there are favicon bitmaps for |icon_id|. If
|
|
|