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

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..5440c0bd6ae820f11821904838c1082ba9ccfb77 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -68,6 +68,8 @@ class AutofillProfile : public AutofillDataModel {
const std::string& app_locale,
std::vector<base::string16>* values) const;
+ void SetPreferredNameInfo(const std::vector<NameInfo>& profiles);
+
// Returns true if there are no values (field types) set.
bool IsEmpty(const std::string& app_locale) const;

Powered by Google App Engine
This is Rietveld 408576698