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

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

Issue 2652763007: Send site certificate chain to android payment app (Closed)
Patch Set: Actually call getCertificateChain Created 3 years, 11 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 45079f61dda13b0f22bd8335f66f07991ce9045f..88ba231f744b98d7f4ef29a4cca80b39ab829062 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,20 +73,21 @@ public abstract class PaymentInstrument extends PaymentOption {
*
* The callback will be invoked with the resulting payment details or error.
*
- * @param merchantName The name of the merchant.
- * @param origin The origin of this 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
- * merchant identifier, or a public key.
- * @param total The total amount.
- * @param displayItems The shopping cart items.
- * @param modifiers The relevant payment details modifiers.
- * @param callback The object that will receive the instrument details.
+ * @param merchantName The name of the merchant.
+ * @param origin The origin of this merchant.
+ * @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
+ * merchant identifier, or a public key.
+ * @param total The total amount.
+ * @param displayItems The shopping cart items.
+ * @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,
- Map<String, PaymentMethodData> methodDataMap, PaymentItem total,
- List<PaymentItem> displayItems, Map<String, PaymentDetailsModifier> modifiers,
- InstrumentDetailsCallback callback);
+ 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