From fb3f20a21b926221b4e5a43d3430013134e6c887 Mon Sep 17 00:00:00 2001 From: rouslan Date: Mon, 18 May 2015 15:16:29 -0700 Subject: Fixup Wallet sync. 1) Select the correct preference name for synced data type. 2) Set the correct field name when converting Wallet specifics to dictionary. BUG=481595 Review URL: https://codereview.chromium.org/1147753002 Cr-Commit-Position: refs/heads/master@{#330441} --- sync/protocol/proto_value_conversions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sync') diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc index 1e74474..3ce9528 100644 --- a/sync/protocol/proto_value_conversions.cc +++ b/sync/protocol/proto_value_conversions.cc @@ -367,7 +367,7 @@ scoped_ptr AutofillWalletSpecificsToValue( value->Set("masked_card", WalletMaskedCreditCardToValue(proto.masked_card())); } else if (proto.type() == sync_pb::AutofillWalletSpecifics::POSTAL_ADDRESS) { - value->Set("masked_card", + value->Set("address", WalletPostalAddressToValue(proto.address())); } return value; -- cgit v1.1