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

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

Issue 2559153002: PaymentApp: Make the PaymentAppFactory asynchronous (Closed)
Patch Set: Rebase onto latest master 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/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java
index 26f9cb5661e0296368170dc1e859225ef583e012..9d80712f2f7c09e80184682b4b4726ed7b569622 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java
@@ -37,7 +37,7 @@ public class PaymentRequestServiceWorkerPaymentAppTest extends PaymentRequestTes
* ONE_OPTION or TWO_OPTIONS
*/
private void installServiceWorkerPaymentApp(final int instrumentPresence) {
- PaymentAppFactory.setServiceWorkerPaymentAppBridgeForTest(
+ PaymentAppFactory.getInstance().addAdditionalFactory(
new ServiceWorkerPaymentAppBridge() {
@Override
public List<Manifest> getAllAppManifests() {

Powered by Google App Engine
This is Rietveld 408576698