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

Issue 1814883002: [Autofill] Check for full state name and abbreviation when determining types to upload. (Closed)

Created:
4 years, 9 months ago by sebsg
Modified:
4 years, 9 months ago
CC:
bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added code to try getting the full text value and abbreviation of a possible state and compare these values to the saved profile's state value. BUG=595734 TEST=AutofillManagerTest Committed: https://crrev.com/bcb6aef375788d86e59a67dea2a8b50f3b61e49b Cr-Commit-Position: refs/heads/master@{#381973}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Nit #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
M components/autofill/core/browser/address.cc View 1 2 chunks +23 lines, -0 lines 3 comments Download
M components/autofill/core/browser/autofill_field.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (11 generated)
sebsg
Could you please take a look when you get the chance? Thanks!
4 years, 9 months ago (2016-03-17 17:59:20 UTC) #6
vabr (Chromium)
LGTM with an optional nit. Cheers, Vaclav https://codereview.chromium.org/1814883002/diff/100001/components/autofill/core/browser/address.cc File components/autofill/core/browser/address.cc (right): https://codereview.chromium.org/1814883002/diff/100001/components/autofill/core/browser/address.cc#newcode208 components/autofill/core/browser/address.cc:208: base::string16 state_name, ...
4 years, 9 months ago (2016-03-18 12:03:50 UTC) #9
sebsg
Thanks, I also changed the other calls to this method that used a one line ...
4 years, 9 months ago (2016-03-18 13:03:55 UTC) #10
vabr (Chromium)
LGTM, thank you! Vaclav
4 years, 9 months ago (2016-03-18 13:12:58 UTC) #11
Mathieu
The code looks good, I just have a question. https://codereview.chromium.org/1814883002/diff/120001/components/autofill/core/browser/address.cc File components/autofill/core/browser/address.cc (right): https://codereview.chromium.org/1814883002/diff/120001/components/autofill/core/browser/address.cc#newcode212 components/autofill/core/browser/address.cc:212: ...
4 years, 9 months ago (2016-03-18 13:56:04 UTC) #12
sebsg
Good question Mathieu, thanks for bringing it up! https://codereview.chromium.org/1814883002/diff/120001/components/autofill/core/browser/address.cc File components/autofill/core/browser/address.cc (right): https://codereview.chromium.org/1814883002/diff/120001/components/autofill/core/browser/address.cc#newcode212 components/autofill/core/browser/address.cc:212: if ...
4 years, 9 months ago (2016-03-18 14:25:54 UTC) #13
Mathieu
lgtm keep as is https://codereview.chromium.org/1814883002/diff/120001/components/autofill/core/browser/address.cc File components/autofill/core/browser/address.cc (right): https://codereview.chromium.org/1814883002/diff/120001/components/autofill/core/browser/address.cc#newcode212 components/autofill/core/browser/address.cc:212: if (!state_name.empty() || !state_abbreviation.empty()) { ...
4 years, 9 months ago (2016-03-18 14:35:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814883002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814883002/120001
4 years, 9 months ago (2016-03-18 14:40:24 UTC) #17
sebsg
A quick search revealed that there are in fact a couple of cities names California ...
4 years, 9 months ago (2016-03-18 14:42:47 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:120001)
4 years, 9 months ago (2016-03-18 15:26:44 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 15:28:02 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bcb6aef375788d86e59a67dea2a8b50f3b61e49b
Cr-Commit-Position: refs/heads/master@{#381973}

Powered by Google App Engine
This is Rietveld 408576698