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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.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/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 88ba231f744b98d7f4ef29a4cca80b39ab829062..53cf5027f51b283bc2af520d5ad95a02646f22cd 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
@@ -75,6 +75,8 @@ public abstract class PaymentInstrument extends PaymentOption {
*
* @param merchantName The name of the merchant.
* @param origin The origin of this merchant.
+ * @param iframeOrigin The origin of the iframe browsing context that invoked
+ * PaymentRequest.
* @param certificateChain The site certificate chain of the merchant.
* @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
@@ -84,7 +86,7 @@ public abstract class PaymentInstrument extends PaymentOption {
* @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,
+ public abstract void invokePaymentApp(String merchantName, String origin, String iframeOrigin,
byte[][] certificateChain, Map<String, PaymentMethodData> methodDataMap,
PaymentItem total, List<PaymentItem> displayItems,
Map<String, PaymentDetailsModifier> modifiers, InstrumentDetailsCallback callback);

Powered by Google App Engine
This is Rietveld 408576698