From c9ec8b8e96eabd369cf6d74350d54f366f634706 Mon Sep 17 00:00:00 2001 From: "isherman@chromium.org" Date: Thu, 20 Jun 2013 07:58:40 +0000 Subject: [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 --- sync/protocol/autofill_specifics.proto | 5 +---- sync/protocol/proto_value_conversions.cc | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'sync') 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); -- cgit v1.1