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 11a6c59b3fcf5d2056c395a279f37fa5a16c61e4..a389badfca72df73e84febdb194ffbbcb4f54f7d 100644 |
--- a/components/autofill/core/browser/autofill_profile.h |
+++ b/components/autofill/core/browser/autofill_profile.h |
@@ -159,6 +159,14 @@ class AutofillProfile : public AutofillDataModel { |
const std::string& app_locale, |
std::vector<base::string16>* labels); |
+ // Builds inferred label from the first |num_fields_to_include| non-empty |
+ // fields in |label_fields|. Uses as many fields as possible if there are not |
+ // enough non-empty fields. |
+ base::string16 ConstructInferredLabel( |
+ const std::vector<ServerFieldType>& label_fields, |
+ size_t num_fields_to_include, |
+ const std::string& app_locale) const; |
+ |
const std::string& language_code() const { return language_code_; } |
void set_language_code(const std::string& language_code) { |
language_code_ = language_code; |
@@ -193,14 +201,6 @@ class AutofillProfile : public AutofillDataModel { |
// FormGroup: |
void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override; |
- // Builds inferred label from the first |num_fields_to_include| non-empty |
- // fields in |label_fields|. Uses as many fields as possible if there are not |
- // enough non-empty fields. |
- base::string16 ConstructInferredLabel( |
- const std::vector<ServerFieldType>& label_fields, |
- 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 |
// |labels|. These labels include enough fields to differentiate among the |