| Index: components/autofill/core/browser/autofill_profile.h
|
| diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h
|
| index 7eb979672687fef1a9762c26645188f4ff963f6c..4a079792d857b9dc9edbb426722a7a751908c429 100644
|
| --- a/components/autofill/core/browser/autofill_profile.h
|
| +++ b/components/autofill/core/browser/autofill_profile.h
|
| @@ -80,7 +80,7 @@ class AutofillProfile : public AutofillDataModel {
|
| // culling duplicates. The ordering is based on collation order of the
|
| // textual contents of the fields.
|
| // GUIDs and origins are not compared, only the values of the contents
|
| - // themselves. Full profile comparision, comparison includes multi-valued
|
| + // themselves. Full profile comparison, comparison includes multi-valued
|
| // fields.
|
| int Compare(const AutofillProfile& profile) const;
|
|
|
| @@ -132,6 +132,11 @@ class AutofillProfile : public AutofillDataModel {
|
| size_t minimal_fields_shown,
|
| std::vector<base::string16>* labels);
|
|
|
| + const std::string& language_code() const { return language_code_; }
|
| + void set_language_code(const std::string& language_code) {
|
| + language_code_ = language_code;
|
| + }
|
| +
|
| private:
|
| typedef std::vector<const FormGroup*> FormGroupList;
|
|
|
| @@ -185,6 +190,9 @@ class AutofillProfile : public AutofillDataModel {
|
| CompanyInfo company_;
|
| std::vector<PhoneNumber> phone_number_;
|
| Address address_;
|
| +
|
| + // The BCP 47 language code that can be used to format |address_| for display.
|
| + std::string language_code_;
|
| };
|
|
|
| // So we can compare AutofillProfiles with EXPECT_EQ().
|
|
|