| 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 7ae95722a1d33408f53235d6012229968359407e..286e9b9e62c9373e9f8827b8bd104d3d1bacc5ff 100644
|
| --- a/components/autofill/core/browser/autofill_profile.h
|
| +++ b/components/autofill/core/browser/autofill_profile.h
|
| @@ -123,6 +123,7 @@ class AutofillProfile : public AutofillDataModel {
|
| // 5. Company name.
|
| static void CreateDifferentiatingLabels(
|
| const std::vector<AutofillProfile*>& profiles,
|
| + const std::string& app_locale,
|
| std::vector<base::string16>* labels);
|
|
|
| // Creates inferred labels for |profiles|, according to the rules above and
|
| @@ -137,6 +138,7 @@ class AutofillProfile : public AutofillDataModel {
|
| const std::vector<ServerFieldType>* suggested_fields,
|
| ServerFieldType excluded_field,
|
| size_t minimal_fields_shown,
|
| + const std::string& app_locale,
|
| std::vector<base::string16>* labels);
|
|
|
| const std::string& language_code() const { return language_code_; }
|
| @@ -171,7 +173,8 @@ class AutofillProfile : public AutofillDataModel {
|
| // enough non-empty fields.
|
| base::string16 ConstructInferredLabel(
|
| const std::vector<ServerFieldType>& label_fields,
|
| - size_t num_fields_to_include) const;
|
| + size_t num_fields_to_include,
|
| + const std::string& app_locale) const;
|
|
|
| // Creates inferred labels for |profiles| at indices corresponding to
|
| // |indices|, and stores the results to the corresponding elements of
|
| @@ -183,6 +186,7 @@ class AutofillProfile : public AutofillDataModel {
|
| const std::list<size_t>& indices,
|
| const std::vector<ServerFieldType>& fields,
|
| size_t num_fields_to_include,
|
| + const std::string& app_locale,
|
| std::vector<base::string16>* labels);
|
|
|
| // Utilities for listing and lookup of the data members that constitute
|
|
|