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

Issue 2511953004: Consider payment method specific data when filtering payment apps. (Closed)

Created:
4 years, 1 month ago by please use gerrit instead
Modified:
4 years, 1 month ago
Reviewers:
Ted C
CC:
chromium-reviews, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consider payment method specific data when filtering payment apps. Chrome filters payment apps by payment method, e.g., "visa", "mastercard", or "https://android.com/pay". With the upcoming implementation of the new "basic-card" payment method, the filtering needs to be based on the method specific data. The following snippet, for example, specifies the "visa" and "debit" filters inside of the method specific data. new PaymentRequest([{ supportedMethods: ['basic-card'], data: { supportedNetworks: ['visa'], supportedTypes: ['debit'] } }], shoppingCartContents); This patch adds ability to filter out payment apps based on method specific data as well as the list of payment methods that they support. BUG=665190 Committed: https://crrev.com/e71bf006592c9ebba8c459848308b27e3efa63b4 Cr-Commit-Position: refs/heads/master@{#433731}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Unmodifiable #

Patch Set 3 : Don't pass null into Collections.unmodifiable() #

Messages

Total messages: 22 (15 generated)
please use gerrit instead
Ted, ptal. This is a part of http://crrev.com/2501593003 that Dan has asked me to split ...
4 years, 1 month ago (2016-11-18 22:30:22 UTC) #6
Ted C
lgtm https://codereview.chromium.org/2511953004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (right): https://codereview.chromium.org/2511953004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java#newcode461 chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:461: filterMerchantMethodData(mMethodData, app.getAppMethodNames()); Should this map be converted to ...
4 years, 1 month ago (2016-11-21 22:18:13 UTC) #9
please use gerrit instead
https://codereview.chromium.org/2511953004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (right): https://codereview.chromium.org/2511953004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java#newcode461 chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:461: filterMerchantMethodData(mMethodData, app.getAppMethodNames()); On 2016/11/21 22:18:13, Ted C wrote: > ...
4 years, 1 month ago (2016-11-21 23:18:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511953004/40001
4 years, 1 month ago (2016-11-21 23:19:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511953004/60001
4 years, 1 month ago (2016-11-22 00:50:56 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-22 01:29:51 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 01:31:52 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e71bf006592c9ebba8c459848308b27e3efa63b4
Cr-Commit-Position: refs/heads/master@{#433731}

Powered by Google App Engine
This is Rietveld 408576698