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

Issue 1623803002: [Autofill] Fix phone upload bug. (Closed)

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

Description

When determining what field type to upload, if both PHONE_HOME_CITY_AND_NUMBER and PHONE_HOME_WHOLE_NUMBER are matched, it means there is no country code in the profile's phone number. In that case, only match PHONE_HOME_CITY_AND_NUMBER because it's more precise. BUG=580629 TEST=AutofillManagerTest Committed: https://crrev.com/03c71f5c105e04f15a5b761f67dbcb9e74d178d0 Cr-Commit-Position: refs/heads/master@{#371867}

Patch Set 1 #

Patch Set 2 : Fixed metrics tests #

Total comments: 8

Patch Set 3 : Addressed comments #

Total comments: 10

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -70 lines) Patch
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 chunks +84 lines, -60 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M components/autofill/core/browser/phone_number.cc View 1 2 3 2 chunks +33 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
sebsg
PTAL
4 years, 11 months ago (2016-01-25 17:47:05 UTC) #6
Mathieu
nice tests :) just a few comments https://codereview.chromium.org/1623803002/diff/80001/components/autofill/core/browser/phone_number.cc File components/autofill/core/browser/phone_number.cc (right): https://codereview.chromium.org/1623803002/diff/80001/components/autofill/core/browser/phone_number.cc#newcode149 components/autofill/core/browser/phone_number.cc:149: void PhoneNumber::GetMatchingTypes(const ...
4 years, 11 months ago (2016-01-25 20:32:16 UTC) #7
Mathieu
Also, please update the CL description and make it descriptive! Also, mention TEST=
4 years, 11 months ago (2016-01-25 20:32:55 UTC) #8
sebsg
Thanks for the comments! https://codereview.chromium.org/1623803002/diff/80001/components/autofill/core/browser/phone_number.cc File components/autofill/core/browser/phone_number.cc (right): https://codereview.chromium.org/1623803002/diff/80001/components/autofill/core/browser/phone_number.cc#newcode149 components/autofill/core/browser/phone_number.cc:149: void PhoneNumber::GetMatchingTypes(const base::string16& text, On ...
4 years, 11 months ago (2016-01-26 21:31:07 UTC) #12
Mathieu
lgtm with nits https://codereview.chromium.org/1623803002/diff/120001/components/autofill/core/browser/phone_number.cc File components/autofill/core/browser/phone_number.cc (right): https://codereview.chromium.org/1623803002/diff/120001/components/autofill/core/browser/phone_number.cc#newcode154 components/autofill/core/browser/phone_number.cc:154: // would become the stripped text ...
4 years, 11 months ago (2016-01-27 18:48:35 UTC) #13
sebsg
Thanks! https://codereview.chromium.org/1623803002/diff/120001/components/autofill/core/browser/phone_number.cc File components/autofill/core/browser/phone_number.cc (right): https://codereview.chromium.org/1623803002/diff/120001/components/autofill/core/browser/phone_number.cc#newcode154 components/autofill/core/browser/phone_number.cc:154: // would become the stripped text "5141211523". On ...
4 years, 11 months ago (2016-01-27 20:00:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1623803002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1623803002/140001
4 years, 11 months ago (2016-01-27 20:04:01 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 11 months ago (2016-01-27 21:07:43 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 21:09:52 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/03c71f5c105e04f15a5b761f67dbcb9e74d178d0
Cr-Commit-Position: refs/heads/master@{#371867}

Powered by Google App Engine
This is Rietveld 408576698