Index: chrome/browser/webdata/web_database.cc |
=================================================================== |
--- chrome/browser/webdata/web_database.cc (revision 90021) |
+++ chrome/browser/webdata/web_database.cc (working copy) |
@@ -16,8 +16,8 @@ |
// Current version number. Note: when changing the current version number, |
// corresponding changes must happen in the unit tests, and new migration test |
// added. See |WebDatabaseMigrationTest::kCurrentTestedVersionNumber|. |
-const int kCurrentVersionNumber = 37; |
-const int kCompatibleVersionNumber = 37; |
+const int kCurrentVersionNumber = 38; |
+const int kCompatibleVersionNumber = 38; |
// Change the version number and possibly the compatibility version of |
// |meta_table_|. |
@@ -279,6 +279,13 @@ |
ChangeVersion(&meta_table_, 37, true); |
// FALL THROUGH |
+ case 37: |
+ if (!keyword_table_->MigrateToVersion38AddLastModifiedColumn()) |
+ return FailedMigrationTo(38); |
+ |
+ ChangeVersion(&meta_table_, 38, true); |
+ // FALL THROUGH |
+ |
// Add successive versions here. Each should set the version number and |
// compatible version number as appropriate, then fall through to the next |
// case. |