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

Unified Diff: chrome/test/data/android/payments/util.js

Issue 2039863002: PaymentRequest: Sync up PaymentAddress with the payment request spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/test/data/android/payments/util.js
diff --git a/chrome/test/data/android/payments/util.js b/chrome/test/data/android/payments/util.js
index 5ac27922d19b2af0892addd4823eccf517a43482..4c3c08a42328021dc9e31052f2ef684535a4ec7e 100644
--- a/chrome/test/data/android/payments/util.js
+++ b/chrome/test/data/android/payments/util.js
@@ -20,9 +20,9 @@ function print(msg) { // eslint-disable-line no-unused-vars
function toDictionary(addr) { // eslint-disable-line no-unused-vars
var dict = {};
if (addr) {
- dict.regionCode = addr.regionCode;
- dict.administrativeArea = addr.administrativeArea;
- dict.locality = addr.locality;
+ dict.country = addr.country;
+ dict.region = addr.region;
+ dict.city = addr.city;
dict.dependentLocality = addr.dependentLocality;
dict.addressLine = addr.addressLine;
dict.postalCode = addr.postalCode;
@@ -30,6 +30,8 @@ function toDictionary(addr) { // eslint-disable-line no-unused-vars
dict.languageCode = addr.languageCode;
dict.organization = addr.organization;
dict.recipient = addr.recipient;
+ dict.careOf = addr.careOf;
+ dict.phone = addr.phone;
}
return dict;
}

Powered by Google App Engine
This is Rietveld 408576698