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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java

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/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
index 8c920f4ac903726efc7e359c2b440323be725240..4322796e00882d4c23e19703f0c00b3c4be27707 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
@@ -212,7 +212,8 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie
&& profile.getStreetAddress() != null && profile.getRegion() != null
&& profile.getLocality() != null && profile.getDependentLocality() != null
&& profile.getPostalCode() != null && profile.getSortingCode() != null
- && profile.getCompanyName() != null && profile.getFullName() != null) {
+ && profile.getCompanyName() != null && profile.getFullName() != null
+ && profile.getPhoneNumber() != null) {
addresses.add(new AutofillAddress(profile));
}
}

Powered by Google App Engine
This is Rietveld 408576698