| Index: chrome/browser/webdata/web_database.cc
|
| ===================================================================
|
| --- chrome/browser/webdata/web_database.cc (revision 92870)
|
| +++ 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 = 38;
|
| -const int kCompatibleVersionNumber = 38;
|
| +const int kCurrentVersionNumber = 39;
|
| +const int kCompatibleVersionNumber = 39;
|
|
|
| // Change the version number and possibly the compatibility version of
|
| // |meta_table_|.
|
| @@ -286,6 +286,13 @@
|
| ChangeVersion(&meta_table_, 38, true);
|
| // FALL THROUGH
|
|
|
| + case 38:
|
| + if (!keyword_table_->MigrateToVersion39AddSyncGUIDColumn())
|
| + return FailedMigrationTo(39);
|
| +
|
| + ChangeVersion(&meta_table_, 39, 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.
|
|
|