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

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

Issue 2770193003: Implement request id in PaymentDetailsInit (Closed)
Patch Set: Rebase once more since mojom file moved Created 3 years, 8 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 952a98e3f0fa80bda7e51e8a2828939d85bc9be8..2bb0092000d46d5ffba396cae9c0f975293129bc 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
@@ -73,6 +73,7 @@ public abstract class PaymentInstrument extends PaymentOption {
*
* The callback will be invoked with the resulting payment details or error.
*
+ * @param id The unique identifier of the PaymentRequest.
* @param merchantName The name of the merchant.
* @param origin The origin of this merchant.
* @param iframeOrigin The origin of the iframe that invoked PaymentRequest.
@@ -86,10 +87,11 @@ 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, String iframeOrigin,
- @Nullable byte[][] certificateChain, Map<String, PaymentMethodData> methodDataMap,
- PaymentItem total, List<PaymentItem> displayItems,
- Map<String, PaymentDetailsModifier> modifiers, InstrumentDetailsCallback callback);
+ public abstract void invokePaymentApp(String id, String merchantName, String origin,
+ String iframeOrigin, @Nullable byte[][] certificateChain,
+ Map<String, PaymentMethodData> methodDataMap, PaymentItem total,
+ List<PaymentItem> displayItems, Map<String, PaymentDetailsModifier> modifiers,
+ InstrumentDetailsCallback callback);
/**
* Cleans up any resources held by the payment instrument. For example, closes server

Powered by Google App Engine
This is Rietveld 408576698