| Index: chrome/browser/history/thumbnail_database.h
|
| diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h
|
| index cc6324f292fde740dd15b99c897c5dc4d407e3dc..167a6d158b811042ca1a39f4b4e2c0186fcd2399 100644
|
| --- a/chrome/browser/history/thumbnail_database.h
|
| +++ b/chrome/browser/history/thumbnail_database.h
|
| @@ -67,21 +67,21 @@ class ThumbnailDatabase {
|
| // The list contains results for the bitmaps which are cached in the
|
| // favicon_bitmaps table. The pixel sizes are a subset of the sizes in the
|
| // 'sizes' field of the favicons table for |icon_id|.
|
| - bool GetFaviconBitmapIDSizes(
|
| + bool GetFaviconRawBitmapIDSizes(
|
| favicon_base::FaviconID icon_id,
|
| - std::vector<FaviconBitmapIDSize>* bitmap_id_sizes);
|
| + std::vector<FaviconRawBitmapIDSize>* bitmap_id_sizes);
|
|
|
| // Returns true if there are any matched bitmaps for the given |icon_id|. All
|
| // matched results are returned if |favicon_bitmaps| is not NULL.
|
| - bool GetFaviconBitmaps(favicon_base::FaviconID icon_id,
|
| - std::vector<FaviconBitmap>* favicon_bitmaps);
|
| + bool GetFaviconRawBitmaps(favicon_base::FaviconID icon_id,
|
| + std::vector<FaviconRawBitmap>* favicon_bitmaps);
|
|
|
| // Gets the last updated time, bitmap data, and pixel size of the favicon
|
| // bitmap at |bitmap_id|. Returns true if successful.
|
| - bool GetFaviconBitmap(FaviconBitmapID bitmap_id,
|
| - base::Time* last_updated,
|
| - scoped_refptr<base::RefCountedMemory>* png_icon_data,
|
| - gfx::Size* pixel_size);
|
| + bool GetFaviconRawBitmap(FaviconRawBitmapID bitmap_id,
|
| + base::Time* last_updated,
|
| + scoped_refptr<base::RefCountedMemory>* png_icon_data,
|
| + gfx::Size* pixel_size);
|
|
|
| // Adds a bitmap component at |pixel_size| for the favicon with |icon_id|.
|
| // Only favicons representing a .ico file should have multiple favicon bitmaps
|
| @@ -91,7 +91,7 @@ class ThumbnailDatabase {
|
| // favicon should be refreshed.
|
| // |pixel_size| is the pixel dimensions of |icon_data|.
|
| // Returns the id of the added bitmap or 0 if unsuccessful.
|
| - FaviconBitmapID AddFaviconBitmap(
|
| + FaviconRawBitmapID AddFaviconRawBitmap(
|
| favicon_base::FaviconID icon_id,
|
| const scoped_refptr<base::RefCountedMemory>& icon_data,
|
| base::Time time,
|
| @@ -100,18 +100,18 @@ class ThumbnailDatabase {
|
| // Sets the bitmap data and the last updated time for the favicon bitmap at
|
| // |bitmap_id|.
|
| // Returns true if successful.
|
| - bool SetFaviconBitmap(FaviconBitmapID bitmap_id,
|
| - scoped_refptr<base::RefCountedMemory> bitmap_data,
|
| - base::Time time);
|
| + bool SetFaviconRawBitmap(FaviconRawBitmapID bitmap_id,
|
| + scoped_refptr<base::RefCountedMemory> bitmap_data,
|
| + base::Time time);
|
|
|
| // Sets the last updated time for the favicon bitmap at |bitmap_id|.
|
| // Returns true if successful.
|
| - bool SetFaviconBitmapLastUpdateTime(FaviconBitmapID bitmap_id,
|
| - base::Time time);
|
| + bool SetFaviconRawBitmapLastUpdateTime(FaviconRawBitmapID bitmap_id,
|
| + base::Time time);
|
|
|
| // Deletes the favicon bitmap with |bitmap_id|.
|
| // Returns true if successful.
|
| - bool DeleteFaviconBitmap(FaviconBitmapID bitmap_id);
|
| + bool DeleteFaviconRawBitmap(FaviconRawBitmapID bitmap_id);
|
|
|
| // Favicons ------------------------------------------------------------------
|
|
|
| @@ -142,7 +142,7 @@ class ThumbnailDatabase {
|
| favicon_base::IconType icon_type);
|
|
|
| // Adds a favicon with a single bitmap. This call is equivalent to calling
|
| - // AddFavicon and AddFaviconBitmap.
|
| + // AddFavicon and AddFaviconRawBitmap.
|
| favicon_base::FaviconID AddFavicon(
|
| const GURL& icon_url,
|
| favicon_base::IconType icon_type,
|
|
|