diff options
author | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-01 11:48:32 +0000 |
---|---|---|
committer | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-01 11:48:32 +0000 |
commit | 3d87c09385d3597ad3da77237660cf2d9906be84 (patch) | |
tree | b9f3ebd266ef8c05e722d525066ff2ba4fa21eb8 /chrome/browser/history/history_database.h | |
parent | cb371f9e93fbc1d9ea1585da97ea8f07241eae36 (diff) | |
download | chromium_src-3d87c09385d3597ad3da77237660cf2d9906be84.zip chromium_src-3d87c09385d3597ad3da77237660cf2d9906be84.tar.gz chromium_src-3d87c09385d3597ad3da77237660cf2d9906be84.tar.bz2 |
Remove code obsoleted by the removal of StarredURLDatabase.
Second attempt - first one caused failures in sync tests that assumed History was initialized if Bookmarks was.
First patch is original CL (https://chromiumcodereview.appspot.com/10874027).
BUG=144050
TEST=sync_integration_tests
Review URL: https://chromiumcodereview.appspot.com/10910036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history_database.h')
-rw-r--r-- | chrome/browser/history/history_database.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/history/history_database.h b/chrome/browser/history/history_database.h index 0d46459..23c73ca 100644 --- a/chrome/browser/history/history_database.h +++ b/chrome/browser/history/history_database.h @@ -64,9 +64,9 @@ class HistoryDatabase : public DownloadDatabase, virtual ~HistoryDatabase(); - // Must call this function to complete initialization. Will return true on - // success. On false, no other function should be called. You may want to call - // BeginExclusiveMode after this when you are ready. + // Must call this function to complete initialization. Will return + // sql::INIT_OK on success. Otherwise, no other function should be called. You + // may want to call BeginExclusiveMode after this when you are ready. sql::InitStatus Init(const FilePath& history_name); // Call to set the mode on the database to exclusive. The default locking mode @@ -166,9 +166,8 @@ class HistoryDatabase : public DownloadDatabase, // Migration ----------------------------------------------------------------- // Makes sure the version is up-to-date, updating if necessary. If the - // database is too old to migrate, the user will be notified. In this case, or - // for other errors, false will be returned. True means it is up-to-date and - // ready for use. + // database is too old to migrate, the user will be notified. Returns + // sql::INIT_OK iff the DB is up-to-date and ready for use. // // This assumes it is called from the init function inside a transaction. It // may commit the transaction and start a new one if migration requires it. |