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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.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/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 3d5c877a2b699fb501c4471332ab39321937e976..df88a3fd5c09b1e3038bcea2e0cea741e2cda4c9 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
@@ -56,12 +56,12 @@ public class ServiceWorkerPaymentInstrument extends PaymentInstrument {
}
@Override
- public void invokePaymentApp(String merchantName, String origin,
+ public void invokePaymentApp(String merchantName, String origin, String iframeOrigin,
byte[][] unusedCertificateChain, Map<String, PaymentMethodData> methodData,
PaymentItem total, List<PaymentItem> displayItems,
Map<String, PaymentDetailsModifier> modifiers, InstrumentDetailsCallback callback) {
ServiceWorkerPaymentAppBridge.invokePaymentApp(mWebContents, mAppRegistrationId, mOption.id,
- origin, new HashSet<>(methodData.values()), total, displayItems,
+ origin, iframeOrigin, new HashSet<>(methodData.values()), total, displayItems,
new HashSet<>(modifiers.values()));
}

Powered by Google App Engine
This is Rietveld 408576698