| 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 06873fe335e5e758b4777bb6580d2363cb384b7d..4c25b9bd6899c898dedd26ee37464872528bb35f 100644
|
| --- a/components/history/core/browser/thumbnail_database.h
|
| +++ b/components/history/core/browser/thumbnail_database.h
|
| @@ -62,6 +62,13 @@ 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 |expiration_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 expiration_threshold);
|
| +
|
| // Favicon Bitmaps -----------------------------------------------------------
|
|
|
| // Returns true if there are favicon bitmaps for |icon_id|. If
|
|
|