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 5768386cc92e1cee09a8445134a2e7077b7dbc5a..ba4832b60cb315f069f9843fb5f3b7b30b09e058 100644 |
--- a/components/autofill/core/browser/autofill_profile.h |
+++ b/components/autofill/core/browser/autofill_profile.h |
@@ -191,6 +191,12 @@ class AutofillProfile : public AutofillDataModel { |
const FormGroup* FormGroupForType(const AutofillType& type) const; |
FormGroup* MutableFormGroupForType(const AutofillType& type); |
+ // Overwrites or appends names from autofillable profile |names| to the |
+ // existing list of autofill profile names maintained under |name_|, so as |
+ // to keep ones with more information for identical profile full names |
+ // otherwise append to this list. |
Ilya Sherman
2014/06/03 00:25:32
nit: Suggested rephrasing. Of course, feel free t
Pritam Nikam
2014/06/03 15:37:34
Done.
|
+ void OverwriteOrAppendNames(const std::vector<NameInfo>& names); |
+ |
// Personal information for this profile. |
std::vector<NameInfo> name_; |
std::vector<EmailInfo> email_; |