Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java |
index 0dd36fda08fd24656083d5e55fcdeab9e51111d5..e50339c4626b6aa2d2b88bc0abc9b48e8bc3d9fb 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java |
@@ -5,6 +5,7 @@ |
package org.chromium.chrome.browser.payments; |
import org.chromium.content_public.browser.WebContents; |
+import org.chromium.payments.mojom.PaymentDetailsModifier; |
import org.chromium.payments.mojom.PaymentItem; |
import org.chromium.payments.mojom.PaymentMethodData; |
@@ -55,11 +56,13 @@ public class ServiceWorkerPaymentInstrument extends PaymentInstrument { |
} |
@Override |
- public void invokePaymentApp(String merchantName, String origin, PaymentItem total, |
- List<PaymentItem> cart, Map<String, PaymentMethodData> methodDataMap, |
+ public void invokePaymentApp(String merchantName, String origin, |
+ Map<String, PaymentMethodData> methodData, PaymentItem total, |
+ List<PaymentItem> displayItems, Map<String, PaymentDetailsModifier> modifiers, |
InstrumentDetailsCallback callback) { |
ServiceWorkerPaymentAppBridge.invokePaymentApp(mWebContents, mAppRegistrationId, mOption.id, |
- new HashSet<>(methodDataMap.values())); |
+ origin, new HashSet<>(methodData.values()), total, displayItems, |
+ new HashSet<>(modifiers.values())); |
} |
@Override |