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..7bc1ff178ca60e7c84a7ad781cd3b9f593f41b71 100644 |
--- a/components/autofill/core/browser/autofill_profile.h |
+++ b/components/autofill/core/browser/autofill_profile.h |
@@ -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,7 @@ class AutofillProfile : public AutofillDataModel { |
CompanyInfo company_; |
std::vector<PhoneNumber> phone_number_; |
Address address_; |
+ std::string language_code_; |
Ilya Sherman
2014/03/29 01:24:42
nit: Docs, please.
please use gerrit instead
2014/04/02 21:54:52
Done.
|
}; |
// So we can compare AutofillProfiles with EXPECT_EQ(). |