Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1764)

Unified Diff: chrome/browser/webdata/autofill_table.h

Issue 6677124: Move migration code out of WebDatabase and into table-specific classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits from dhollowa Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/webdata/autofill_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/autofill_table.h
diff --git a/chrome/browser/webdata/autofill_table.h b/chrome/browser/webdata/autofill_table.h
index af7648fd22b89d1c974e570060430b56e8b597eb..d86eb1cdec7922d1d1d56edeb4f5c5fda0ee357d 100644
--- a/chrome/browser/webdata/autofill_table.h
+++ b/chrome/browser/webdata/autofill_table.h
@@ -259,6 +259,18 @@ class AutofillTable : public WebDatabaseTable {
// Clear all profiles.
bool ClearAutofillProfiles();
+ // Table migration functions.
+ bool MigrateToVersion23AddCardNumberEncryptedColumn();
+ bool MigrateToVersion24CleanupOversizedStringFields();
+ bool MigrateToVersion27UpdateLegacyCreditCards();
+ bool MigrateToVersion30AddDateModifed();
+ bool MigrateToVersion31AddGUIDToCreditCardsAndProfiles();
+ bool MigrateToVersion32UpdateProfilesAndCreditCards();
+ bool MigrateToVersion33ProfilesBasedOnFirstName();
+ bool MigrateToVersion34ProfilesBasedOnCountryCode();
+ bool MigrateToVersion35GreatBritainCountryCodes();
+ bool MigrateToVersion36MergeAndCullOlderProfiles();
+
private:
FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill);
FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_AddChanges);
« no previous file with comments | « no previous file | chrome/browser/webdata/autofill_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698