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

Issue 1080883002: Remove some more bad ASCII-centric autofill code. (Closed)

Created:
5 years, 8 months ago by Evan Stade
Modified:
5 years, 8 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove some more bad ASCII-centric autofill code. Lean on ICU for month names and abbreviations rather than hardcoding English ones. BUG=none Committed: https://crrev.com/20c903e49de077445636a3aadca6a2ab22868cd2 Cr-Commit-Position: refs/heads/master@{#325543}

Patch Set 1 #

Patch Set 2 : tests #

Total comments: 10

Patch Set 3 : thestig review #

Patch Set 4 : relative patch #

Total comments: 2

Patch Set 5 : fiddle with ConvertMonth #

Patch Set 6 : fix regression #

Patch Set 7 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -111 lines) Patch
M components/autofill/core/browser/autofill_field.cc View 1 2 3 8 chunks +42 lines, -40 lines 0 comments Download
M components/autofill/core/browser/autofill_field_unittest.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_profile_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M components/autofill/core/browser/contact_info.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M components/autofill/core/browser/contact_info_unittest.cc View 1 2 3 chunks +12 lines, -6 lines 0 comments Download
M components/autofill/core/browser/credit_card.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M components/autofill/core/browser/credit_card.cc View 1 2 3 4 5 4 chunks +54 lines, -52 lines 0 comments Download
M components/autofill/core/browser/credit_card_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Evan Stade
https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field_unittest.cc File components/autofill/core/browser/autofill_field_unittest.cc (right): https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field_unittest.cc#newcode407 components/autofill/core/browser/autofill_field_unittest.cc:407: "JANV", "FÉVR.", "MARS", "décembre" I thought we had to ...
5 years, 8 months ago (2015-04-11 01:00:46 UTC) #2
Lei Zhang
https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field.cc File components/autofill/core/browser/autofill_field.cc (right): https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field.cc#newcode71 components/autofill/core/browser/autofill_field.cc:71: l10n::CaseInsensitiveCompare compare; Not used? https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field.cc#newcode76 components/autofill/core/browser/autofill_field.cc:76: if (base::i18n::StringSearchIgnoringCaseAndAccents( Create ...
5 years, 8 months ago (2015-04-11 02:44:17 UTC) #3
Evan Stade
https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field.cc File components/autofill/core/browser/autofill_field.cc (right): https://codereview.chromium.org/1080883002/diff/20001/components/autofill/core/browser/autofill_field.cc#newcode71 components/autofill/core/browser/autofill_field.cc:71: l10n::CaseInsensitiveCompare compare; On 2015/04/11 02:44:17, Lei Zhang wrote: > ...
5 years, 8 months ago (2015-04-13 18:13:43 UTC) #4
Lei Zhang
https://codereview.chromium.org/1080883002/diff/60001/components/autofill/core/browser/credit_card.cc File components/autofill/core/browser/credit_card.cc (right): https://codereview.chromium.org/1080883002/diff/60001/components/autofill/core/browser/credit_card.cc#newcode716 components/autofill/core/browser/credit_card.cc:716: return true; I wonder if this should return false. ...
5 years, 8 months ago (2015-04-13 19:59:13 UTC) #5
Lei Zhang
otherwise lgtm
5 years, 8 months ago (2015-04-13 19:59:33 UTC) #6
Evan Stade
https://codereview.chromium.org/1080883002/diff/60001/components/autofill/core/browser/credit_card.cc File components/autofill/core/browser/credit_card.cc (right): https://codereview.chromium.org/1080883002/diff/60001/components/autofill/core/browser/credit_card.cc#newcode716 components/autofill/core/browser/credit_card.cc:716: return true; On 2015/04/13 19:59:13, Lei Zhang wrote: > ...
5 years, 8 months ago (2015-04-13 21:34:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1080883002/80001
5 years, 8 months ago (2015-04-13 23:38:52 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/14498)
5 years, 8 months ago (2015-04-14 00:00:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1080883002/120001
5 years, 8 months ago (2015-04-16 22:12:32 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-16 23:24:41 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 23:25:49 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/20c903e49de077445636a3aadca6a2ab22868cd2
Cr-Commit-Position: refs/heads/master@{#325543}

Powered by Google App Engine
This is Rietveld 408576698