|
Create new Autofill tables as part of DB migration.
Currently, migration from a version 20 database to the latest version fails,
because the migration code assumes that the autofill_dates table exists, but it
was not present at version 20, and is never created during migration. This CL
fixes the migration path to be more careful and more sane.
BUG=none
TEST=unit_tests
R=pkasting@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259166
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+168 lines, -71 lines) |
Patch |
 |
M |
chrome/browser/webdata/keyword_table.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/keyword_table.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/logins_table.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/logins_table.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/web_apps_table.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/web_apps_table.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/web_intents_table.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/webdata/web_intents_table.cc
|
View
|
|
2 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/webdata/autofill_table.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/webdata/autofill_table.cc
|
View
|
|
6 chunks |
+81 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/signin/core/browser/webdata/token_service_table.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/signin/core/browser/webdata/token_service_table.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
components/test/data/web_database/version_20.sql
|
View
|
|
1 chunk |
+10 lines, -15 lines |
0 comments
|
Download
|
 |
M |
components/webdata/common/web_database.cc
|
View
|
1
2
|
4 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/webdata/common/web_database_migration_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/webdata/common/web_database_table.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/webdata/common/web_database_table.cc
|
View
|
|
1 chunk |
+3 lines, -7 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|