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

Issue 12213077: [Autofill] Credit Card validation for rAc. (Closed)

Created:
7 years, 10 months ago by groby-ooo-7-16
Modified:
7 years, 10 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Autofill] Credit Card validation for rAc. Validate all things credit card. (Number, CSC, Expiration) BUG=170467 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181861

Patch Set 1 #

Total comments: 6

Patch Set 2 : Validate only necessary fields, kill dead code. #

Patch Set 3 : Address line 2 is always valid. #

Total comments: 18

Patch Set 4 : Address review comments. #

Total comments: 2

Patch Set 5 : Remove unneeded includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -2 lines) Patch
M chrome/browser/autofill/validation.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/autofill/validation.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/autofill/validation_unittest.cc View 1 2 3 2 chunks +25 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 1 chunk +23 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
groby-ooo-7-16
Technically, the validation for expiration dates in the rAc dialog is unnecessary, since the fields ...
7 years, 10 months ago (2013-02-07 23:14:47 UTC) #1
Evan Stade
https://codereview.chromium.org/12213077/diff/1/chrome/browser/autofill/validation.cc File chrome/browser/autofill/validation.cc (right): https://codereview.chromium.org/12213077/diff/1/chrome/browser/autofill/validation.cc#newcode71 chrome/browser/autofill/validation.cc:71: size_t separator = text.find(kSeparatorSlash); Seems like you're doing a ...
7 years, 10 months ago (2013-02-08 15:48:14 UTC) #2
groby-ooo-7-16
https://codereview.chromium.org/12213077/diff/1/chrome/browser/autofill/validation.cc File chrome/browser/autofill/validation.cc (right): https://codereview.chromium.org/12213077/diff/1/chrome/browser/autofill/validation.cc#newcode71 chrome/browser/autofill/validation.cc:71: size_t separator = text.find(kSeparatorSlash); Killing it, since we don't ...
7 years, 10 months ago (2013-02-09 00:01:48 UTC) #3
Evan Stade
Lgtm https://codereview.chromium.org/12213077/diff/8001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12213077/diff/8001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode436 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:436: using base::Time; No longer needed https://codereview.chromium.org/12213077/diff/8001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode440 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:440: case ...
7 years, 10 months ago (2013-02-11 00:25:14 UTC) #4
Ilya Sherman
https://codereview.chromium.org/12213077/diff/8001/chrome/browser/autofill/validation.cc File chrome/browser/autofill/validation.cc (right): https://codereview.chromium.org/12213077/diff/8001/chrome/browser/autofill/validation.cc#newcode10 chrome/browser/autofill/validation.cc:10: #include "base/utf_string_conversions.h" nit: Not needed? https://codereview.chromium.org/12213077/diff/8001/chrome/browser/autofill/validation.h File chrome/browser/autofill/validation.h (right): ...
7 years, 10 months ago (2013-02-11 05:39:51 UTC) #5
groby-ooo-7-16
https://codereview.chromium.org/12213077/diff/8001/chrome/browser/autofill/validation.cc File chrome/browser/autofill/validation.cc (right): https://codereview.chromium.org/12213077/diff/8001/chrome/browser/autofill/validation.cc#newcode10 chrome/browser/autofill/validation.cc:10: #include "base/utf_string_conversions.h" Left over from patch 1 - removed. ...
7 years, 10 months ago (2013-02-11 22:47:53 UTC) #6
Ilya Sherman
LGTM with a nit. Thanks. https://codereview.chromium.org/12213077/diff/8/chrome/browser/autofill/validation.cc File chrome/browser/autofill/validation.cc (right): https://codereview.chromium.org/12213077/diff/8/chrome/browser/autofill/validation.cc#newcode9 chrome/browser/autofill/validation.cc:9: #include "base/time.h" nit: Both ...
7 years, 10 months ago (2013-02-11 22:55:10 UTC) #7
groby-ooo-7-16
https://codereview.chromium.org/12213077/diff/8/chrome/browser/autofill/validation.cc File chrome/browser/autofill/validation.cc (right): https://codereview.chromium.org/12213077/diff/8/chrome/browser/autofill/validation.cc#newcode9 chrome/browser/autofill/validation.cc:9: #include "base/time.h" Oops, sorry. Done. On 2013/02/11 22:55:10, Ilya ...
7 years, 10 months ago (2013-02-11 23:27:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/12213077/10006
7 years, 10 months ago (2013-02-11 23:27:36 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 05:06:36 UTC) #10
Message was sent while issue was closed.
Change committed as 181861

Powered by Google App Engine
This is Rietveld 408576698