Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: sync/protocol/proto_value_conversions.cc

Issue 2058513002: Add billing address identifier to WalletMaskedCard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update converter Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/protocol/autofill_specifics.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/proto_value_conversions.cc
diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc
index 7d7c367e2581d7f67723508823adee7d574b8591..46ab0cc261211ec109f0f87f55f41279362d7a46 100644
--- a/sync/protocol/proto_value_conversions.cc
+++ b/sync/protocol/proto_value_conversions.cc
@@ -697,12 +697,14 @@ std::unique_ptr<base::DictionaryValue> WalletMaskedCreditCardToValue(
SET_STR(last_four);
SET_INT32(exp_month);
SET_INT32(exp_year);
+ SET_STR(billing_address_id);
return value;
}
std::unique_ptr<base::DictionaryValue> WalletPostalAddressToValue(
const sync_pb::WalletPostalAddress& proto) {
std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue());
+ SET_STR(id);
SET_STR(recipient_name);
SET_STR(company_name);
SET_STR_REP(street_address);
« no previous file with comments | « sync/protocol/autofill_specifics.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698