Index: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java |
index 090bbe0db25b4e8cc1170691dfbbdaf8920f2155..45079f61dda13b0f22bd8335f66f07991ce9045f 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java |
@@ -7,6 +7,7 @@ package org.chromium.chrome.browser.payments; |
import android.graphics.drawable.Drawable; |
import org.chromium.chrome.browser.payments.ui.PaymentOption; |
+import org.chromium.payments.mojom.PaymentDetailsModifier; |
import org.chromium.payments.mojom.PaymentItem; |
import org.chromium.payments.mojom.PaymentMethodData; |
@@ -74,15 +75,17 @@ public abstract class PaymentInstrument extends PaymentOption { |
* |
* @param merchantName The name of the merchant. |
* @param origin The origin of this merchant. |
- * @param total The total amount. |
- * @param items The shopping cart items. |
* @param methodDataMap The payment-method specific data for all applicable payment methods, |
* e.g., whether the app should be invoked in test or production, a |
* merchant identifier, or a public key. |
+ * @param total The total amount. |
+ * @param displayItems The shopping cart items. |
+ * @param modifiers The relevant payment details modifiers. |
* @param callback The object that will receive the instrument details. |
*/ |
- public abstract void invokePaymentApp(String merchantName, String origin, PaymentItem total, |
- List<PaymentItem> cart, Map<String, PaymentMethodData> methodDataMap, |
+ public abstract void invokePaymentApp(String merchantName, String origin, |
+ Map<String, PaymentMethodData> methodDataMap, PaymentItem total, |
+ List<PaymentItem> displayItems, Map<String, PaymentDetailsModifier> modifiers, |
InstrumentDetailsCallback callback); |
/** |