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

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: fix providePaymentInformation Created 3 years, 11 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7950bf6f8e0731894d1ea8efaf05db547b650a21..9a09c2803399ae3c9699bf9229aa68ec97cfca32 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
@@ -63,6 +63,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.
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698