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

Unified Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 2626843004: [Payments] Add billing_address_id and has_converted to autofill_table (Closed)
Patch Set: Created 3 years, 11 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
Index: components/autofill/core/browser/webdata/autofill_table.h
diff --git a/components/autofill/core/browser/webdata/autofill_table.h b/components/autofill/core/browser/webdata/autofill_table.h
index e223d5cfb23240259713b0497a780a380f537626..c2c8d58765b2d5690e400a25ac944e755348d8dc 100644
--- a/components/autofill/core/browser/webdata/autofill_table.h
+++ b/components/autofill/core/browser/webdata/autofill_table.h
@@ -375,10 +375,8 @@ class AutofillTable : public WebDatabaseTable {
const base::string16& full_number);
bool MaskServerCreditCard(const std::string& id);
- bool UpdateServerCardUsageStats(const CreditCard& credit_card);
- bool UpdateServerAddressUsageStats(const AutofillProfile& profile);
-
- bool UpdateServerCardBillingAddress(const CreditCard& credit_card);
+ bool UpdateServerCardMetadata(const CreditCard& credit_card);
+ bool UpdateServerAddressMetadata(const AutofillProfile& profile);
// Deletes all data from the server card and profile tables. Returns true if
// any data was deleted, false if not (so false means "commit not needed"
@@ -461,6 +459,7 @@ class AutofillTable : public WebDatabaseTable {
bool MigrateToVersion66AddCardBillingAddress();
bool MigrateToVersion67AddMaskedCardBillingAddress();
bool MigrateToVersion70AddSyncMetadata();
+ bool MigrateToVersion71AddServerCardMetadataBillingAddress();
// Max data length saved in the table, AKA the maximum length allowed for
// form data.

Powered by Google App Engine
This is Rietveld 408576698