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

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

Issue 212873003: Store the language code for the address in autofill profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 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
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 0a72e814528b3de20202a39493c0f1566a60018d..fef4c1f8a86e9aee67bb7284355d35368219661b 100644
--- a/components/autofill/core/browser/webdata/autofill_table.h
+++ b/components/autofill/core/browser/webdata/autofill_table.h
@@ -65,6 +65,11 @@ struct FormFieldData;
// contiguous. The canonical example is CEDEX in France.
// Added in version 54.
// country_code
+// language_code The BCP 47 language code used to format the address for
+// display. For example, a JP address with "ja" language
+// code starts with the postal code, but a JP address with
+// "ja-latn" language code starts with the recipient name.
+// Added in version 56.
Scott Hess - ex-Googler 2014/03/31 17:46:38 Put the comment at the end if the code is at the e
please use gerrit instead 2014/04/02 21:54:52 Done.
// date_modified The date on which this profile was last modified.
// Added in version 30.
// origin The domain of origin for this profile.
@@ -278,6 +283,7 @@ class AutofillTable : public WebDatabaseTable {
bool MigrateToVersion51AddOriginColumn();
bool MigrateToVersion54AddI18nFieldsAndRemoveDeprecatedFields();
bool MigrateToVersion55MergeAutofillDatesTable();
+ bool MigrateToVersion56AddProfileLanguageCodeForFormatting();
// Max data length saved in the table;
static const size_t kMaxDataLength;

Powered by Google App Engine
This is Rietveld 408576698