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

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

Issue 347183005: autofill names - dont parse when calling SetRawInfo(FULL_NAME) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android test expectation Created 6 years, 5 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 5478a165e024d681e74674853ba2390234646c92..5231baaa941da7271f255d83f9ab160afee618c4 100644
--- a/components/autofill/core/browser/contact_info.h
+++ b/components/autofill/core/browser/contact_info.h
@@ -23,14 +23,19 @@ class NameInfo : public FormGroup {
NameInfo& operator=(const NameInfo& info);
- // Compares |NameInfo| objects for |first_|, |middle_| and |last_| names,
+ // Compares |NameInfo| objects for |given_|, |middle_| and |family_| names,
// ignoring their case differences.
- bool EqualsIgnoreCase(const NameInfo& info);
+ bool ParsedNamesAreEqual(const NameInfo& info);
// FormGroup:
virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
virtual void SetRawInfo(ServerFieldType type,
const base::string16& value) OVERRIDE;
+ virtual base::string16 GetInfo(const AutofillType& type,
+ const std::string& app_locale) const OVERRIDE;
+ virtual bool SetInfo(const AutofillType& type,
+ const base::string16& value,
+ const std::string& app_locale) OVERRIDE;
private:
// FormGroup:
« 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