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

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: Incorporated review comments. 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);
Ilya Sherman 2014/05/29 07:38:03 nit: This should have private visibility.
Pritam Nikam 2014/05/30 11:12:40 To provide unit-test this need to have public visi
+
// 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