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

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

Issue 2850503002: Enable "interledger" non-URI payment method. (Closed)
Patch Set: Ganggui's comment Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/android/junit/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinderTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinder.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinder.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinder.java
index 7a9000f3164c463193fae6b0dc8feb39e73aa5ff..7a0203d282d7f52ce146dacc2c5850d4ec6377b9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinder.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinder.java
@@ -49,12 +49,6 @@ public class AndroidPaymentAppFinder implements ManifestVerifyCallback {
"org.chromium.intent.action.IS_READY_TO_PAY";
/**
- * The basic-card payment method name used by merchant and defined by W3C:
- * https://w3c.github.io/webpayments-methods-card/#method-id
- */
- /* package */ static final String BASIC_CARD_PAYMENT_METHOD = "basic-card";
-
- /**
* Meta data name of an app's supported payment method names.
*/
/* package */ static final String META_DATA_NAME_OF_PAYMENT_METHOD_NAMES =
@@ -114,7 +108,10 @@ public class AndroidPaymentAppFinder implements ManifestVerifyCallback {
// For non-URI payment method names, only names published by W3C should be supported.
Set<String> supportedNonUriPaymentMethods = new HashSet<>();
- supportedNonUriPaymentMethods.add(BASIC_CARD_PAYMENT_METHOD);
+ // https://w3c.github.io/webpayments-methods-card/
+ supportedNonUriPaymentMethods.add("basic-card");
+ // https://w3c.github.io/webpayments/proposals/interledger-payment-method.html
+ supportedNonUriPaymentMethods.add("interledger");
mNonUriPaymentMethods = new HashSet<>();
mUriPaymentMethods = new HashSet<>();
« no previous file with comments | « no previous file | chrome/android/junit/src/org/chromium/chrome/browser/payments/AndroidPaymentAppFinderTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698