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

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: 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') | chrome/browser/webdata/autofill_table.cc » ('J')
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..0b967b9bfa21077d61dfdfbc7a95f5ad483a2f9b 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 AddCardNumberEncryptedColumnForVersion23();
dhollowa 2011/04/04 16:13:20 How about names like |MigrateToVersion23EncryptedC
Bons 2011/04/05 11:05:13 Done.
+ bool CleanupOversizedStringFieldsForVersion24();
+ bool UpdateLegacyCreditCardsForVersion27();
+ bool AddDateModifedForVersion30();
+ bool AddGUIDToCreditCardsAndProfilesForVersion31();
+ bool UpdateProfilesAndCreditCardsForVersion32();
+ bool UpdateProfilesBasedOnFirstNameForVersion33();
+ bool UpdatesProfilesBasedOnCountryCodeForVersion34();
+ bool CorrectGreatBritainCountryCodesForVersion35();
+ bool MergeAndCullOlderProfilesForVersion36();
+
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') | chrome/browser/webdata/autofill_table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698