| Index: chrome/browser/history/thumbnail_database.h
|
| diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h
|
| index f32ead1af23911e2d30fab0c7e76a4c7492e30d9..10a8198c9cfc810bbc70a8eff2d00e4358550ed6 100644
|
| --- a/chrome/browser/history/thumbnail_database.h
|
| +++ b/chrome/browser/history/thumbnail_database.h
|
| @@ -149,12 +149,14 @@ class ThumbnailDatabase {
|
| IconType* icon_type,
|
| FaviconSizes* favicon_sizes);
|
|
|
| - // Adds favicon with |icon_url| and |icon_type| to the favicon db, returning
|
| - // its id.
|
| - FaviconID AddFavicon(const GURL& icon_url, IconType icon_type);
|
| + // Adds favicon with |icon_url|, |icon_type| and |favicon_sizes| to the
|
| + // favicon db, returning its id.
|
| + FaviconID AddFavicon(const GURL& icon_url,
|
| + IconType icon_type,
|
| + const FaviconSizes& favicon_sizes);
|
|
|
| // Adds a favicon with a single bitmap. This call is equivalent to calling
|
| - // AddFavicon, SetFaviconSizes, and AddFaviconBitmap.
|
| + // AddFavicon and AddFaviconBitmap.
|
| FaviconID AddFavicon(const GURL& icon_url,
|
| IconType icon_type,
|
| const FaviconSizes& favicon_sizes,
|
| @@ -202,6 +204,10 @@ class ThumbnailDatabase {
|
| // Returns true if the deletion succeeded.
|
| bool DeleteIconMappings(const GURL& page_url);
|
|
|
| + // Deletes the icon mapping with |mapping_id|.
|
| + // Returns true if the deletion succeeded.
|
| + bool DeleteIconMapping(IconMappingID mapping_id);
|
| +
|
| // Checks whether a favicon is used by any URLs in the database.
|
| bool HasMappingFor(FaviconID id);
|
|
|
|
|