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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.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/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
index dc8a94e3f47174d69b9ea0dd2913d38fbc3cf6a4..3bb22429093f3d56a985160fbb68baea934c0a67 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
@@ -891,7 +891,7 @@ abstract class PaymentRequestTestBase extends ChromeActivityTestCaseBase<ChromeT
@Override
public void getInstruments(Map<String, PaymentMethodData> methodData, String origin,
- InstrumentsCallback instrumentsCallback) {
+ byte[][] certificateChain, InstrumentsCallback instrumentsCallback) {
mCallback = instrumentsCallback;
respond();
}
@@ -951,7 +951,7 @@ abstract class PaymentRequestTestBase extends ChromeActivityTestCaseBase<ChromeT
}
@Override
- public void invokePaymentApp(String merchantName, String origin,
+ public void invokePaymentApp(String merchantName, String origin, byte[][] certificateChain,
Map<String, PaymentMethodData> methodData, PaymentItem total,
List<PaymentItem> displayItems, Map<String, PaymentDetailsModifier> modifiers,
InstrumentDetailsCallback detailsCallback) {

Powered by Google App Engine
This is Rietveld 408576698