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

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

Issue 2085133003: Add billing address to credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 6 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 b0b949cb6d2f39cae0d21a362100a795377c1581..919ec0393fb4c8a5a23c33eb16f20c3174a5a564 100644
--- a/components/autofill/core/browser/webdata/autofill_table.h
+++ b/components/autofill/core/browser/webdata/autofill_table.h
@@ -122,7 +122,7 @@ struct FormFieldData;
// with the Autofill dialog. Most of the columns are
// standard entries in a credit card form.
//
-// guid A guid string to uniquely identify the profile.
+// guid A guid string to uniquely identify the credit card.
// Added in version 31.
// name_on_card
// expiration_month
@@ -137,6 +137,10 @@ struct FormFieldData;
// time_t. Added in version 30.
// origin The domain of origin for this profile.
// Added in version 50.
+// billing_address_id The guid string that identifies the local profile which
+// is the billing address for this card. Can be null in the
+// database, but always returned as an empty string in
+// CreditCard. Added in version 66.
//
// masked_credit_cards
// This table contains "masked" credit card information
@@ -408,6 +412,7 @@ class AutofillTable : public WebDatabaseTable {
bool MigrateToVersion63AddServerRecipientName();
bool MigrateToVersion64AddUnmaskDate();
bool MigrateToVersion65AddServerMetadataTables();
+ bool MigrateToVersion66AddCardBillingAddress();
// Max data length saved in the table, AKA the maximum length allowed for
// form data.

Powered by Google App Engine
This is Rietveld 408576698