diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-20 07:18:26 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-20 07:18:26 +0000 |
commit | 880a5d27941d1c89e09bb743d426845950762dbc (patch) | |
tree | e21c310c4bf36ef52686a432392515605f09831e /sync | |
parent | 19e97d586d64c128344d81743b197b0434f42870 (diff) | |
download | chromium_src-880a5d27941d1c89e09bb743d426845950762dbc.zip chromium_src-880a5d27941d1c89e09bb743d426845950762dbc.tar.gz chromium_src-880a5d27941d1c89e09bb743d426845950762dbc.tar.bz2 |
Fill in more name fields with requestAutocomplete
Parse full names more intelligently with a rough port of the Android contact name splitter. Only does Western names well; CJK are TODO.
Save and sync the full name separately from the name pieces.
BUG=241886
Review URL: https://codereview.chromium.org/310463005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/protocol/autofill_specifics.proto | 1 | ||||
-rw-r--r-- | sync/protocol/proto_value_conversions.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sync/protocol/autofill_specifics.proto b/sync/protocol/autofill_specifics.proto index 64d8e1e..a772b0ee 100644 --- a/sync/protocol/autofill_specifics.proto +++ b/sync/protocol/autofill_specifics.proto @@ -25,6 +25,7 @@ message AutofillProfileSpecifics { repeated string name_first = 2; repeated string name_middle = 3; repeated string name_last = 4; + repeated string name_full = 21; repeated string email_address = 5; optional string company_name = 6; diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc index 5ea434c..8e58af4 100644 --- a/sync/protocol/proto_value_conversions.cc +++ b/sync/protocol/proto_value_conversions.cc @@ -441,6 +441,7 @@ base::DictionaryValue* AutofillProfileSpecificsToValue( SET_STR_REP(name_first); SET_STR_REP(name_middle); SET_STR_REP(name_last); + SET_STR_REP(name_full); SET_STR_REP(email_address); SET_STR(company_name); |