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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentApp.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/PaymentApp.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentApp.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentApp.java
index b7cf36579bd31615c41acf65dcdb2ed76d3b9f36..55ecc47c260f0e9ff5c2f4a0d184c19d9e73f8d2 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentApp.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentApp.java
@@ -33,14 +33,16 @@ public interface PaymentApp {
* cards for the current profile. Can return null or empty list, e.g., if user has no locally
* stored credit cards.
*
- * @param methodDataMap The map from methods to method specific data. The data contains such
- * information as whether the app should be invoked in test or production
- * mode, merchant identifier, or a public key.
- * @param origin The origin of this merchant.
- * @param callback The object that will receive the list of instruments.
+ * @param methodDataMap The map from methods to method specific data. The data contains such
+ * information as whether the app should be invoked in test or
+ * production
+ * mode, merchant identifier, or a public key.
+ * @param origin The origin of this merchant.
+ * @param certificateChain The site certificate chain of the merchant.
+ * @param callback The object that will receive the list of instruments.
*/
void getInstruments(Map<String, PaymentMethodData> methodDataMap, String origin,
- InstrumentsCallback callback);
+ byte[][] certificateChain, InstrumentsCallback callback);
/**
* Returns a list of all payment method names that this app supports. For example, ["visa",

Powered by Google App Engine
This is Rietveld 408576698