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

Unified Diff: components/autofill/core/browser/contact_info.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 and updated unit-tests. Created 6 years, 6 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/contact_info.h
diff --git a/components/autofill/core/browser/contact_info.h b/components/autofill/core/browser/contact_info.h
index 007be1be81f5ebb2e5fecb3c8d23aa9f583f962e..d51b0b4ee5010b8161b8ad74e900154c87649906 100644
--- a/components/autofill/core/browser/contact_info.h
+++ b/components/autofill/core/browser/contact_info.h
@@ -23,6 +23,10 @@ class NameInfo : public FormGroup {
NameInfo& operator=(const NameInfo& info);
+ // Compares |NameInfo| objects for |frist_|, |middle_| and |last_| names,
Ilya Sherman 2014/06/16 20:28:18 nit: "frist" -> "first"
Pritam Nikam 2014/06/18 08:27:18 Done.
+ // ignoring their case differences.
+ bool EqualsIgnoreCase(const NameInfo& info);
+
// FormGroup:
virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
virtual void SetRawInfo(ServerFieldType type,

Powered by Google App Engine
This is Rietveld 408576698