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

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: Added case-insensitivity handling and 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..cbaeeb6eb4cfeab219a755b719575f1a01c67daf 100644
--- a/components/autofill/core/browser/contact_info.h
+++ b/components/autofill/core/browser/contact_info.h
@@ -22,6 +22,9 @@ class NameInfo : public FormGroup {
virtual ~NameInfo();
NameInfo& operator=(const NameInfo& info);
+ bool operator==(const NameInfo& info);
+ bool operator!=(const NameInfo& info);
Ilya Sherman 2014/06/13 21:13:49 Are these operators still needed, now that you've
Pritam Nikam 2014/06/14 10:27:03 Done. Removed both operators == & !=, as these are
+ bool EqualsIgnoreCase(const NameInfo& info);
Ilya Sherman 2014/06/13 21:13:49 nit: Please leave a blank line before this method
Pritam Nikam 2014/06/14 10:27:03 Done.
// FormGroup:
virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
« no previous file with comments | « components/autofill/core/browser/autofill_profile_unittest.cc ('k') | components/autofill/core/browser/contact_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698