diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-20 07:58:40 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-20 07:58:40 +0000 |
commit | c9ec8b8e96eabd369cf6d74350d54f366f634706 (patch) | |
tree | 361719959209955d6d6887aa5870cfa398a970db /sync | |
parent | 7aea76b94b0fc1d7f0c65aa8da195852157d1bd7 (diff) | |
download | chromium_src-c9ec8b8e96eabd369cf6d74350d54f366f634706.zip chromium_src-c9ec8b8e96eabd369cf6d74350d54f366f634706.tar.gz chromium_src-c9ec8b8e96eabd369cf6d74350d54f366f634706.tar.bz2 |
[Autofill] Deprecate the "label" field for Sync.
BUG=none
TEST=compiles
R=zea@chromium.org
Review URL: https://chromiumcodereview.appspot.com/15981019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/protocol/autofill_specifics.proto | 5 | ||||
-rw-r--r-- | sync/protocol/proto_value_conversions.cc | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sync/protocol/autofill_specifics.proto b/sync/protocol/autofill_specifics.proto index ac7bc51..4ca1102 100644 --- a/sync/protocol/autofill_specifics.proto +++ b/sync/protocol/autofill_specifics.proto @@ -18,9 +18,6 @@ package sync_pb; // An AutofillProfile. message AutofillProfileSpecifics { - // User-defined label. - optional string label = 1; - optional string guid = 15; // Contact info. @@ -42,6 +39,7 @@ message AutofillProfileSpecifics { repeated string phone_home_whole_number = 13; // Deprecated. + optional string label = 1 [deprecated=true]; optional string phone_fax_whole_number = 14 [deprecated=true]; } @@ -62,4 +60,3 @@ message AutofillSpecifics { // optional bytes deprecated_encrypted_credit_card = 5; // optional AutofillCreditCardSpecifics deprecated_credit_card = 6; } - diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc index bd9a205..39473a7 100644 --- a/sync/protocol/proto_value_conversions.cc +++ b/sync/protocol/proto_value_conversions.cc @@ -285,7 +285,6 @@ base::DictionaryValue* AutofillSpecificsToValue( base::DictionaryValue* AutofillProfileSpecificsToValue( const sync_pb::AutofillProfileSpecifics& proto) { base::DictionaryValue* value = new base::DictionaryValue(); - SET_STR(label); SET_STR(guid); SET_STR_REP(name_first); |