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

Issue 2963163002: [Payment Request] Displays accepted card types (credit, debit, etc) in iOS (Closed)

Created:
3 years, 5 months ago by Moe
Modified:
3 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, gogerald+paymentswatch_chromium.org, ios-reviews_chromium.org, ios-reviews+chrome_chromium.org, jam, mahmadi+paymentsioswatch_chromium.org, mahmadi+paymentswatch_chromium.org, marq+watch_chromium.org, noyau+watch_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payment Request] Displays accepted card types (credit, debit, etc) in iOS - Moves parsing of the accepted card types to data_util. - Displays accepted card types in the payment method selector and credit card editor. BUG=602665, 602666 screenshots: https://drive.google.com/file/d/0B-GXJsF3pXyjS2ZlZHoyODRfS2c/view?usp=sharing Review-Url: https://codereview.chromium.org/2963163002 Cr-Commit-Position: refs/heads/master@{#483836} Committed: https://chromium.googlesource.com/chromium/src/+/90b436d76ede289c1012e0d798457f4832c63bfd

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -18 lines) Patch
M components/payments/content/payment_request_spec.cc View 1 chunk +2 lines, -12 lines 0 comments Download
M components/payments/core/payment_request_data_util.h View 2 chunks +9 lines, -1 line 0 comments Download
M components/payments/core/payment_request_data_util.cc View 1 2 3 chunks +31 lines, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request.h View 4 chunks +9 lines, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request.mm View 1 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm View 2 chunks +3 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/payments/payment_method_selection_mediator.mm View 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 22 (15 generated)
Moe
Hi Rouslan, Please take a look.
3 years, 5 months ago (2017-06-29 19:24:26 UTC) #3
please use gerrit instead
https://codereview.chromium.org/2963163002/diff/1/components/payments/core/payment_request_data_util.cc File components/payments/core/payment_request_data_util.cc (right): https://codereview.chromium.org/2963163002/diff/1/components/payments/core/payment_request_data_util.cc#newcode161 components/payments/core/payment_request_data_util.cc:161: for (const PaymentMethodData& method_data_entry : method_data) { You should ...
3 years, 5 months ago (2017-06-29 19:31:49 UTC) #6
Moe
Hi Rouslan, PTAL. https://codereview.chromium.org/2963163002/diff/1/components/payments/core/payment_request_data_util.cc File components/payments/core/payment_request_data_util.cc (right): https://codereview.chromium.org/2963163002/diff/1/components/payments/core/payment_request_data_util.cc#newcode161 components/payments/core/payment_request_data_util.cc:161: for (const PaymentMethodData& method_data_entry : method_data) ...
3 years, 5 months ago (2017-06-30 15:44:58 UTC) #12
please use gerrit instead
LGTM % nit. it's my first time seeing base::ContainsValue() and I really like it :-) ...
3 years, 5 months ago (2017-06-30 15:49:40 UTC) #13
Moe
Thank you. https://codereview.chromium.org/2963163002/diff/20001/components/payments/core/payment_request_data_util.cc File components/payments/core/payment_request_data_util.cc (right): https://codereview.chromium.org/2963163002/diff/20001/components/payments/core/payment_request_data_util.cc#newcode172 components/payments/core/payment_request_data_util.cc:172: if (method_it == supported_methods.end()) On 2017/06/30 at ...
3 years, 5 months ago (2017-06-30 20:47:19 UTC) #17
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/2963163002/40001
3 years, 5 months ago (2017-06-30 20:47:46 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 21:57:03 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/90b436d76ede289c1012e0d79845...

Powered by Google App Engine
This is Rietveld 408576698