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

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

Issue 2567673002: Factor getCertificateChain out of ConnectionPopupInfo (Closed)
Patch Set: Created 4 years 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 f4d430cadc6eb6308a8de7c7688df5965c0923ec..61056d02e591668a0e6d6077f3bd9f81d68fb891 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
@@ -72,16 +72,18 @@ 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 total The total amount.
- * @param items The shopping cart items.
- * @param methodData 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 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 total The total amount.
+ * @param items The shopping cart items.
+ * @param methodData 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 callback The object that will receive the instrument details.
*/
- public abstract void invokePaymentApp(String merchantName, String origin, PaymentItem total,
+ public abstract void invokePaymentApp(String merchantName, String origin,
+ byte[][] certificateChain, PaymentItem total,
List<PaymentItem> cart, Map<String, PaymentMethodData> methodData,
InstrumentDetailsCallback callback);

Powered by Google App Engine
This is Rietveld 408576698