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

Issue 622773002: [Autofill] Autofill fails to show suggestions for credit card split across fields. (Closed)

Created:
6 years, 2 months ago by Pritam Nikam
Modified:
6 years, 1 month ago
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Autofill fails to show suggestions for suggested input for forms having credit card number split across multiple fields. BUG=420323 Committed: https://crrev.com/504d780c7e67390d85cc918a6c11617ddd36a495 Cr-Commit-Position: refs/heads/master@{#302703}

Patch Set 1 : Changes aligned with https://codereview.chromium.org/442403002/ #

Patch Set 2 : Added handling for card number fields split across. #

Patch Set 3 : Added unit-tests. #

Total comments: 13

Patch Set 4 : Incorporate review comments. #

Patch Set 5 : #

Total comments: 16

Patch Set 6 : Incorporated review comments. #

Total comments: 2

Patch Set 7 : Removed ObfuscatedCreditCardNumber() from AutofillManager. #

Total comments: 10

Patch Set 8 : Removed unwanted changes and incorporated review comments. #

Total comments: 4

Patch Set 9 : Incorporated review comments. #

Total comments: 5

Patch Set 10 : Added review inputs. #

Patch Set 11 : Modified test case. #

Total comments: 4

Patch Set 12 : Incorporated nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -5 lines) Patch
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +65 lines, -1 line 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (5 generated)
Pritam Nikam
On 2014/10/07 04:20:42, Pritam Nikam wrote: > mailto:pritam.nikam@samsung.com changed reviewers: > + mailto:estade@chromium.org, mailto:isherman@chromium.org, mailto:ziran.sun@samsung.com ...
6 years, 2 months ago (2014-10-07 04:21:35 UTC) #4
Ilya Sherman
Thanks for the CL. Please add test coverage for the new public method exposed on ...
6 years, 2 months ago (2014-10-07 21:49:10 UTC) #5
Pritam Nikam
Thanks Ilya for your review inputs. I've incorporated comments and added a unit-test for AutofillField::GetCreditCardNumberValue(). ...
6 years, 2 months ago (2014-10-08 05:17:17 UTC) #6
ziran.sun
https://codereview.chromium.org/622773002/diff/80001/components/autofill/core/browser/autofill_field.cc File components/autofill/core/browser/autofill_field.cc (right): https://codereview.chromium.org/622773002/diff/80001/components/autofill/core/browser/autofill_field.cc#newcode478 components/autofill/core/browser/autofill_field.cc:478: field_data->value = AutofillField::GetCreditCardNumberValue(field, value); For consistency it might be ...
6 years, 2 months ago (2014-10-08 16:25:55 UTC) #7
Ilya Sherman
https://codereview.chromium.org/622773002/diff/80001/components/autofill/core/browser/autofill_field.cc File components/autofill/core/browser/autofill_field.cc (right): https://codereview.chromium.org/622773002/diff/80001/components/autofill/core/browser/autofill_field.cc#newcode478 components/autofill/core/browser/autofill_field.cc:478: field_data->value = AutofillField::GetCreditCardNumberValue(field, value); On 2014/10/08 16:25:55, ziran.sun wrote: ...
6 years, 2 months ago (2014-10-08 21:04:38 UTC) #8
Pritam Nikam
Thanks Ilya and Ziran for your inputs. I'll upload a patch incorporating these inputs. Thanks! ...
6 years, 2 months ago (2014-10-09 06:11:11 UTC) #9
Ilya Sherman
Thanks. https://codereview.chromium.org/622773002/diff/80001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/622773002/diff/80001/components/autofill/core/browser/autofill_manager.cc#newcode199 components/autofill/core/browser/autofill_manager.cc:199: } On 2014/10/09 06:11:11, Pritam Nikam wrote: > ...
6 years, 2 months ago (2014-10-09 21:35:13 UTC) #10
Pritam Nikam
Thanks Ilya & Ziran for inputs. I've added a patch addressing prefix to sub-string matching ...
6 years, 2 months ago (2014-10-13 04:33:53 UTC) #11
Ilya Sherman
https://codereview.chromium.org/622773002/diff/130001/components/autofill/core/browser/autofill_field_unittest.cc File components/autofill/core/browser/autofill_field_unittest.cc (right): https://codereview.chromium.org/622773002/diff/130001/components/autofill/core/browser/autofill_field_unittest.cc#newcode628 components/autofill/core/browser/autofill_field_unittest.cc:628: size_t total_spilts = 4; nit: Please use the arraysize ...
6 years, 2 months ago (2014-10-13 23:33:37 UTC) #12
Pritam Nikam
Thanks Ilya for review. I've incorporated review inputs and uploaded a patch #6 PTAL. Thanks! ...
6 years, 2 months ago (2014-10-15 09:12:11 UTC) #14
Ilya Sherman
https://codereview.chromium.org/622773002/diff/160001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/622773002/diff/160001/components/autofill/core/browser/autofill_manager.cc#newcode173 components/autofill/core/browser/autofill_manager.cc:173: } Please remove this function. This work should be ...
6 years, 2 months ago (2014-10-16 23:55:10 UTC) #15
Pritam Nikam
Thanks Ilya for review. I've incorporated changes to patch set #7. PTAL. Thanks! https://codereview.chromium.org/622773002/diff/160001/components/autofill/core/browser/autofill_manager.cc File ...
6 years, 1 month ago (2014-10-28 10:11:08 UTC) #16
Ilya Sherman
Thanks. https://codereview.chromium.org/622773002/diff/180001/components/autofill/core/browser/autofill_field.h File components/autofill/core/browser/autofill_field.h (right): https://codereview.chromium.org/622773002/diff/180001/components/autofill/core/browser/autofill_field.h#newcode96 components/autofill/core/browser/autofill_field.h:96: const base::string16& number); It looks like this change ...
6 years, 1 month ago (2014-10-28 21:48:41 UTC) #17
Pritam Nikam
Thanks Ilya for review. Removed unwanted changes from this CL & incorporated your inputs to ...
6 years, 1 month ago (2014-10-29 08:38:16 UTC) #18
Ilya Sherman
https://codereview.chromium.org/622773002/diff/200001/components/autofill/core/browser/autofill_manager_unittest.cc File components/autofill/core/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/622773002/diff/200001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode240 components/autofill/core/browser/autofill_manager_unittest.cc:240: } Please remove this helper function. https://codereview.chromium.org/622773002/diff/200001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode3046 components/autofill/core/browser/autofill_manager_unittest.cc:3046: } ...
6 years, 1 month ago (2014-10-30 01:00:58 UTC) #19
Pritam Nikam
Thanks Ilya. PTAL at new patch set. Thanks! https://codereview.chromium.org/622773002/diff/200001/components/autofill/core/browser/autofill_manager_unittest.cc File components/autofill/core/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/622773002/diff/200001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode240 components/autofill/core/browser/autofill_manager_unittest.cc:240: } ...
6 years, 1 month ago (2014-10-30 05:57:18 UTC) #20
Ilya Sherman
https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc File components/autofill/core/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode2997 components/autofill/core/browser/autofill_manager_unittest.cc:2997: CreateTestCreditCardFormData(&form, true, false); Please remove this call as well, ...
6 years, 1 month ago (2014-10-30 22:58:55 UTC) #21
Pritam Nikam
Thanks Ilya. I've incorporated review inputs with patch set #10, PTAL. Thanks! https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc File components/autofill/core/browser/autofill_manager_unittest.cc ...
6 years, 1 month ago (2014-10-31 06:59:34 UTC) #22
Ilya Sherman
https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc File components/autofill/core/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode3021 components/autofill/core/browser/autofill_manager_unittest.cc:3021: // Fill the credit card details. On 2014/10/31 06:59:33, ...
6 years, 1 month ago (2014-10-31 22:49:59 UTC) #23
Pritam Nikam
On 2014/10/31 22:49:59, Ilya Sherman wrote: > https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc > File components/autofill/core/browser/autofill_manager_unittest.cc (right): > > https://codereview.chromium.org/622773002/diff/220001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode3021 ...
6 years, 1 month ago (2014-11-03 12:10:44 UTC) #24
Ilya Sherman
Thanks, Pritam. Just a few small comments left: https://codereview.chromium.org/622773002/diff/260001/components/autofill/core/browser/autofill_manager_unittest.cc File components/autofill/core/browser/autofill_manager_unittest.cc (right): https://codereview.chromium.org/622773002/diff/260001/components/autofill/core/browser/autofill_manager_unittest.cc#newcode3037 components/autofill/core/browser/autofill_manager_unittest.cc:3037: number_field.value ...
6 years, 1 month ago (2014-11-03 22:55:46 UTC) #25
Pritam Nikam
Thanks Ilya, I've uploaded new patch set with nits that you've suggested. PTAL. Thanks! https://codereview.chromium.org/622773002/diff/260001/components/autofill/core/browser/autofill_manager_unittest.cc ...
6 years, 1 month ago (2014-11-04 05:37:00 UTC) #26
Ilya Sherman
LGTM, thanks.
6 years, 1 month ago (2014-11-04 22:09:03 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/622773002/280001
6 years, 1 month ago (2014-11-04 22:12:39 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:280001)
6 years, 1 month ago (2014-11-04 23:20:31 UTC) #30
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 23:21:14 UTC) #31
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/504d780c7e67390d85cc918a6c11617ddd36a495
Cr-Commit-Position: refs/heads/master@{#302703}

Powered by Google App Engine
This is Rietveld 408576698