Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java |
index ec61feb7c8f75c49d39f53f3e24dea73242b66ff..773f6e6aa65ab95fe1975a1a36915fc7c72d4bb4 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java |
@@ -74,9 +74,10 @@ public class ServiceWorkerPaymentAppBridge implements PaymentAppFactory.PaymentA |
* @param modifiers Payment method specific modifiers to the payment items and the total. |
*/ |
public static void invokePaymentApp(WebContents webContents, long registrationId, |
- String optionId, String origin, Set<PaymentMethodData> methodData, PaymentItem total, |
- List<PaymentItem> displayItems, Set<PaymentDetailsModifier> modifiers) { |
- nativeInvokePaymentApp(webContents, registrationId, optionId, origin, |
+ String optionId, String origin, String iframeOrigin, Set<PaymentMethodData> methodData, |
please use gerrit instead
2017/03/15 20:04:38
Please update the list of parameters in the commen
rwlbuis
2017/03/15 20:30:41
Done.
|
+ PaymentItem total, List<PaymentItem> displayItems, |
+ Set<PaymentDetailsModifier> modifiers) { |
+ nativeInvokePaymentApp(webContents, registrationId, optionId, origin, iframeOrigin, |
methodData.toArray(new PaymentMethodData[0]), total, |
modifiers.toArray(new PaymentDetailsModifier[0])); |
} |
@@ -164,6 +165,6 @@ public class ServiceWorkerPaymentAppBridge implements PaymentAppFactory.PaymentA |
private static native void nativeGetAllAppManifests(WebContents webContents, Object callback); |
private static native void nativeInvokePaymentApp(WebContents webContents, long registrationId, |
- String optionId, String origin, PaymentMethodData[] methodData, PaymentItem total, |
- PaymentDetailsModifier[] modifiers); |
+ String optionId, String origin, String iframeOrigin, PaymentMethodData[] methodData, |
+ PaymentItem total, PaymentDetailsModifier[] modifiers); |
} |