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

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

Issue 2739033004: Send origin of the iframe browsing context (Closed)
Patch Set: Really fix serviceworker part Created 3 years, 9 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
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..9d86584e1e452fc6ba5d2df9c94545936c82c4e2 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,8 +74,9 @@ 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) {
+ String optionId, String origin, String unusedIframeOrigin,
+ Set<PaymentMethodData> methodData, PaymentItem total, List<PaymentItem> displayItems,
+ Set<PaymentDetailsModifier> modifiers) {
nativeInvokePaymentApp(webContents, registrationId, optionId, origin,
methodData.toArray(new PaymentMethodData[0]), total,
modifiers.toArray(new PaymentDetailsModifier[0]));

Powered by Google App Engine
This is Rietveld 408576698