summaryrefslogtreecommitdiffstats
path: root/sync/protocol
diff options
context:
space:
mode:
authorrouslan <rouslan@chromium.org>2015-05-18 15:16:29 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-18 22:16:41 +0000
commitfb3f20a21b926221b4e5a43d3430013134e6c887 (patch)
treeb480a1173b9930758b372eb49de35058d0113475 /sync/protocol
parent3208992c8e765e1fe07c1e77f071f3b0a801952f (diff)
downloadchromium_src-fb3f20a21b926221b4e5a43d3430013134e6c887.zip
chromium_src-fb3f20a21b926221b4e5a43d3430013134e6c887.tar.gz
chromium_src-fb3f20a21b926221b4e5a43d3430013134e6c887.tar.bz2
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}
Diffstat (limited to 'sync/protocol')
-rw-r--r--sync/protocol/proto_value_conversions.cc2
1 files changed, 1 insertions, 1 deletions
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<base::DictionaryValue> 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;