Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: components/autofill/core/browser/autofill_profile.h

Issue 261993006: Modified to allow to preserve two-word string in first-name and last-name in autofill profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..fb0b3e592e0dc34974ccc6e4232de4a16b562173 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -144,6 +144,12 @@ class AutofillProfile : public AutofillDataModel {
language_code_ = language_code;
}
+ // 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.
+ void OverwriteOrAppendNames(const std::vector<NameInfo>& names);
Ilya Sherman 2014/05/31 00:34:41 This should remain private, as it is an implementa
Pritam Nikam 2014/05/31 10:30:41 Done.
+
private:
typedef std::vector<const FormGroup*> FormGroupList;

Powered by Google App Engine
This is Rietveld 408576698