diff options
author | nshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 17:13:50 +0000 |
---|---|---|
committer | nshkrob@chromium.org <nshkrob@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 17:13:50 +0000 |
commit | 8d40e31d9ec3466d55580189285b60b2a619924a (patch) | |
tree | a88f86b0b56347b09bb30184e229c3b0ec788129 /chrome/browser/history/thumbnail_database.h | |
parent | 3a8a4afa03c60b249b86b9e945ac220ffa5a4566 (diff) | |
download | chromium_src-8d40e31d9ec3466d55580189285b60b2a619924a.zip chromium_src-8d40e31d9ec3466d55580189285b60b2a619924a.tar.gz chromium_src-8d40e31d9ec3466d55580189285b60b2a619924a.tar.bz2 |
Migration to TopSites from ThumbnailDatabase.
BUG=None
TEST=TopSitesTest, HistoryBackendTest, ThumbnailDatabaseTest, HistoryTest
Review URL: http://codereview.chromium.org/2869018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/thumbnail_database.h')
-rw-r--r-- | chrome/browser/history/thumbnail_database.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/history/thumbnail_database.h b/chrome/browser/history/thumbnail_database.h index 547e930..fba8ca0 100644 --- a/chrome/browser/history/thumbnail_database.h +++ b/chrome/browser/history/thumbnail_database.h @@ -135,6 +135,15 @@ class ThumbnailDatabase { // will be deleted. Returns true on success. bool CommitTemporaryFavIconTable(); + // Returns true iff the thumbnails table exists. + // Migrating to TopSites is dropping the thumbnails table. + // (TODO(nshkrob): renaming to favicons??) + bool NeedsMigrationToTopSites(); + + // Drops thumbnails table. Returns true iff the table was dropped + // successfully. False may mean that the table was already dropped. + bool DropThumbnailsTable(); + private: friend class ExpireHistoryBackend; |