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 2446e9aefe3f7138839fbab1a7620311b569c347..077d214fdfd398b2280798810e979eb05940032a 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 |
@@ -807,13 +807,15 @@ abstract class PaymentRequestTestBase extends ChromeActivityTestCaseBase<ChromeT |
} |
@Override |
- public String getInstrumentMethodName() { |
- return mMethodName; |
+ public Set<String> getInstrumentMethodNames() { |
+ Set<String> result = new HashSet<>(); |
+ result.add(mMethodName); |
+ return result; |
} |
@Override |
- public void getInstrumentDetails(String merchantName, String origin, PaymentItem total, |
- List<PaymentItem> cart, PaymentMethodData details, |
+ public void invokePaymentApp(String merchantName, String origin, PaymentItem total, |
+ List<PaymentItem> cart, Map<String, PaymentMethodData> methodData, |
InstrumentDetailsCallback detailsCallback) { |
detailsCallback.onInstrumentDetailsReady( |
mMethodName, "{\"transaction\": 1337}"); |