| Index: chrome/browser/history/thumbnail_database.cc
|
| diff --git a/chrome/browser/history/thumbnail_database.cc b/chrome/browser/history/thumbnail_database.cc
|
| index ae7c82ee46e5d4dbd1e478372b2293da70b4efd8..a5dde8cc94e06c7d748940d6faacd22524c8c579 100644
|
| --- a/chrome/browser/history/thumbnail_database.cc
|
| +++ b/chrome/browser/history/thumbnail_database.cc
|
| @@ -597,6 +597,17 @@ bool ThumbnailDatabase::SetFaviconBitmap(
|
| return statement.Run();
|
| }
|
|
|
| +bool ThumbnailDatabase::SetFaviconBitmapLastUpdateTime(
|
| + FaviconBitmapID bitmap_id,
|
| + base::Time time) {
|
| + DCHECK(bitmap_id);
|
| + sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
|
| + "UPDATE favicon_bitmaps SET last_updated=? WHERE id=?"));
|
| + statement.BindInt64(0, time.ToInternalValue());
|
| + statement.BindInt64(1, bitmap_id);
|
| + return statement.Run();
|
| +}
|
| +
|
| bool ThumbnailDatabase::DeleteFaviconBitmapsForFavicon(FaviconID icon_id) {
|
| sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
|
| "DELETE FROM favicon_bitmaps WHERE icon_id=?"));
|
|
|