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

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

Issue 2590583002: [Payment Request] Update the Contacts section after editing address (Closed)
Patch Set: unit test Created 4 years 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/ContactEditor.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java
index ad65b7985e7c77c04c1d801b8cb75363677ac671..4d607810143a5c1d9660eb2387fedc05d3e689b3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ContactEditor.java
@@ -70,6 +70,27 @@ public class ContactEditor extends EditorBase<AutofillContact> {
}
/**
+ * @return Whether this editor requires the payer name.
+ */
+ public boolean getRequestPayerName() {
+ return mRequestPayerName;
+ }
+
+ /**
+ * @return Whether this editor requires the payer phone.
+ */
+ public boolean getRequestPayerPhone() {
+ return mRequestPayerPhone;
+ }
+
+ /**
+ * @return Whether this editor requires the payer email.
+ */
+ public boolean getRequestPayerEmail() {
+ return mRequestPayerEmail;
+ }
+
+ /**
* Returns the contact completion status with the given name, phone and email.
*
* @param name The payer name to check.

Powered by Google App Engine
This is Rietveld 408576698