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

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

Issue 2925063003: [Payments] Implement payment instrument icons (Closed)
Patch Set: resolve url based on execution context Created 3 years, 6 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/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 dbba560af715261e62202586c563025972acb3ca..458c1d660847063850c0cbc9702e4b2227373d7e 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
@@ -65,16 +65,18 @@ public class PaymentRequestServiceWorkerPaymentAppTest {
instruments.add(new ServiceWorkerPaymentInstrument(webContents,
0 /* swRegistrationId */, "new" /* instrumentId */,
"Create BobPay account" /* label */,
- new HashSet<String>(Arrays.asList("https://bobpay.com",
- "basic-card")) /* methodNames */));
+ new HashSet<String>(Arrays.asList(
+ "https://bobpay.com", "basic-card")) /* methodNames */,
dcheng 2017/06/10 00:37:10 Nit: this should probably using something like exa
gogerald1 2017/06/12 16:19:43 This is not a complete random domain, it is a fake
dcheng 2017/06/13 09:02:55 Can we change it to point to the test domain we co
gogerald1 2017/06/13 15:37:19 Not completely understand what's the difference of
dcheng 2017/06/13 17:33:15 bobpay.com => points to a parked domain bobpay.xyz
gogerald1 2017/06/14 01:28:16 Acknowledged. will bring it up in our team to disc
+ null /* icon*/));
}
if (instrumentPresence == TWO_OPTIONS) {
instruments.add(new ServiceWorkerPaymentInstrument(webContents,
0 /* swRegistrationId */, "existing" /* instrumentId */,
"Existing BobPay account" /* label */,
- new HashSet<String>(Arrays.asList("https://bobpay.com",
- "basic-card")) /* methodNames */));
+ new HashSet<String>(Arrays.asList(
+ "https://bobpay.com", "basic-card")) /* methodNames */,
+ null /* icon */));
}
callback.onPaymentAppCreated(

Powered by Google App Engine
This is Rietveld 408576698