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

Issue 2713873002: [Payments] Add validation for unsupported credit card types in editor. (Closed)

Created:
3 years, 10 months ago by Mathieu
Modified:
3 years, 10 months ago
Reviewers:
anthonyvd
CC:
browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, gogerald+paymentswatch_chromium.org, mahmadi+paymentswatch_chromium.org, mathp+autofillwatch_chromium.org, rogerm+autofillwatch_chromium.org, rouslan+payments_chromium.org, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, sebsg+paymentswatch_chromium.org, tfarina, vabr+watchlistautofill_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Add validation for unsupported credit card types in editor. BUG=687601 TEST=components_unittests, interactive_ui_tests Review-Url: https://codereview.chromium.org/2713873002 Cr-Commit-Position: refs/heads/master@{#452557} Committed: https://chromium.googlesource.com/chromium/src/+/60dfd97938a210a44495710ea75cb100c48cf8fd

Patch Set 1 : un format #

Total comments: 9

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -75 lines) Patch
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.h View 1 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc View 1 3 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_credit_card_editor_interactive_uitest.cc View 1 chunk +36 lines, -0 lines 0 comments Download
M components/autofill/core/browser/validation.h View 1 1 chunk +10 lines, -2 lines 0 comments Download
M components/autofill/core/browser/validation.cc View 1 3 chunks +29 lines, -7 lines 0 comments Download
M components/autofill/core/browser/validation_unittest.cc View 3 chunks +118 lines, -58 lines 0 comments Download
M components/payments_strings.grdp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Mathieu
PTAL!
3 years, 10 months ago (2017-02-23 16:27:19 UTC) #6
anthonyvd
https://codereview.chromium.org/2713873002/diff/40001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc File chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc (right): https://codereview.chromium.org/2713873002/diff/40001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc#newcode192 chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc:192: // We do not pass the supported card networks ...
3 years, 10 months ago (2017-02-23 16:42:28 UTC) #9
Mathieu
Thanks for picking up on my shitty comments. PTAL https://codereview.chromium.org/2713873002/diff/40001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc File chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc (right): https://codereview.chromium.org/2713873002/diff/40001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc#newcode192 chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc:192: ...
3 years, 10 months ago (2017-02-23 16:48:31 UTC) #10
anthonyvd
LGTM! https://codereview.chromium.org/2713873002/diff/40001/components/autofill/core/browser/validation.cc File components/autofill/core/browser/validation.cc (right): https://codereview.chromium.org/2713873002/diff/40001/components/autofill/core/browser/validation.cc#newcode299 components/autofill/core/browser/validation.cc:299: NOTREACHED() << "IsValidCreditCardNumberForBasicCardNetworks should be " On 2017/02/23 ...
3 years, 10 months ago (2017-02-23 17:00:19 UTC) #11
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/2713873002/60001
3 years, 10 months ago (2017-02-23 17:38:08 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 18:27:15 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/60dfd97938a210a44495710ea75c...

Powered by Google App Engine
This is Rietveld 408576698