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

Issue 355823007: Adjust autofill phone number format. (Closed)

Created:
6 years, 6 months ago by ziran.sun
Modified:
6 years, 5 months 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

Adjust autofill phone number format. - Use '+' sign for out of country call, except US. - Keep valid national number input as it is. R=isherman@chromium.org BUG=98911 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284226

Patch Set 1 #

Patch Set 2 : Update test cases. #

Patch Set 3 : Update code and add tests. #

Total comments: 8

Patch Set 4 : Update code as per review comments. #

Total comments: 1

Patch Set 5 : Update code as per 2nd set of review comments. #

Patch Set 6 : Correct condition checks. #

Patch Set 7 : Update code and tests. #

Patch Set 8 : Update test code. #

Total comments: 3

Patch Set 9 : Update code as per Ilya's further review comments. #

Patch Set 10 : Add reviewer. #

Patch Set 11 : Add OWNERS for components/test/data/autofill directory. #

Total comments: 1

Patch Set 12 : Rebase #

Patch Set 13 : Correct wrongly merged lines. #

Patch Set 14 : Resolve rebase conflicts. #

Patch Set 15 : Use "git cl format". #

Total comments: 10

Patch Set 16 : Update code as per review comments. #

Patch Set 17 : Update android test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -34 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +72 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +30 lines, -16 lines 0 comments Download
M components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M components/autofill/core/browser/phone_number_i18n.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +14 lines, -2 lines 0 comments Download
M components/autofill/core/browser/phone_number_i18n_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -9 lines 0 comments Download
M components/autofill/core/browser/phone_number_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
A + components/test/data/autofill/OWNERS View 1 2 3 4 5 6 7 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
M components/test/data/autofill/merge/output/multimerge.out View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/test/data/autofill/merge/output/primarycase.out View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/test/data/autofill/merge/output/singlemerge.out View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 47 (0 generated)
ziran.sun
Please review. Thanks!
6 years, 5 months ago (2014-07-02 08:53:13 UTC) #1
Ilya Sherman
https://codereview.chromium.org/355823007/diff/40001/chrome/browser/autofill/autofill_browsertest.cc File chrome/browser/autofill/autofill_browsertest.cc (right): https://codereview.chromium.org/355823007/diff/40001/chrome/browser/autofill/autofill_browsertest.cc#newcode632 chrome/browser/autofill/autofill_browsertest.cc:632: // Test Autofill does not appends country when the ...
6 years, 5 months ago (2014-07-02 22:23:54 UTC) #2
ziran.sun
On 2014/07/02 22:23:54, Ilya Sherman wrote: > https://codereview.chromium.org/355823007/diff/40001/chrome/browser/autofill/autofill_browsertest.cc > File chrome/browser/autofill/autofill_browsertest.cc (right): > > https://codereview.chromium.org/355823007/diff/40001/chrome/browser/autofill/autofill_browsertest.cc#newcode632 ...
6 years, 5 months ago (2014-07-03 15:45:57 UTC) #3
ziran.sun
Updated code as per review comments. All comments have been addressed. Please review. Thanks!
6 years, 5 months ago (2014-07-03 15:51:33 UTC) #4
Ilya Sherman
Thanks, Ziran! > > Where is the |formatted_number| used? Should the '+' be dropped for ...
6 years, 5 months ago (2014-07-08 04:07:01 UTC) #5
ziran.sun
Updated code as per review comments. All comments have been addressed. Please review. Thanks!
6 years, 5 months ago (2014-07-10 17:23:19 UTC) #6
Ilya Sherman
Thanks, Ziran. LGTM % the remaining nits. https://codereview.chromium.org/355823007/diff/140001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/140001/components/autofill/core/browser/phone_number_i18n.cc#newcode76 components/autofill/core/browser/phone_number_i18n.cc:76: // written ...
6 years, 5 months ago (2014-07-11 03:43:40 UTC) #7
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-11 09:28:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/355823007/160001
6 years, 5 months ago (2014-07-11 09:29:37 UTC) #9
ziran.sun
Ben, is it okay to review the code, especially the *.out files? Many thanks!
6 years, 5 months ago (2014-07-11 09:48:08 UTC) #10
blundell
On 2014/07/11 09:48:08, ziran.sun wrote: > Ben, is it okay to review the code, especially ...
6 years, 5 months ago (2014-07-11 09:57:26 UTC) #11
blundell
On 2014/07/11 09:57:26, blundell wrote: > On 2014/07/11 09:48:08, ziran.sun wrote: > > Ben, is ...
6 years, 5 months ago (2014-07-11 09:58:22 UTC) #12
ziran.sun
On 2014/07/11 09:58:22, blundell wrote: > On 2014/07/11 09:57:26, blundell wrote: > > On 2014/07/11 ...
6 years, 5 months ago (2014-07-11 10:09:52 UTC) #13
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-11 10:12:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/355823007/200001
6 years, 5 months ago (2014-07-11 10:12:51 UTC) #15
blundell
lgtm
6 years, 5 months ago (2014-07-11 10:13:21 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 13:23:32 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 14:49:06 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/170060)
6 years, 5 months ago (2014-07-11 14:49:07 UTC) #19
Ilya Sherman
(Still LGTM) https://codereview.chromium.org/355823007/diff/200001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/200001/components/autofill/core/browser/phone_number_i18n.cc#newcode93 components/autofill/core/browser/phone_number_i18n.cc:93: processed_number.length())); nit: Please run git cl format ...
6 years, 5 months ago (2014-07-11 19:15:47 UTC) #20
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-11 20:58:44 UTC) #21
ziran.sun
The CQ bit was unchecked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-11 21:00:35 UTC) #22
Ilya Sherman
Hi Ziran, please note that Evan is landing some related changes in [ https://codereview.chromium.org/374053007/ ]. ...
6 years, 5 months ago (2014-07-11 23:17:06 UTC) #23
ziran.sun
Rebase code and solve conflict with Evan's patch. Please review. Thanks!
6 years, 5 months ago (2014-07-16 16:00:44 UTC) #24
Ilya Sherman
https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc#newcode76 components/autofill/core/browser/phone_number_i18n.cc:76: processed_number.substr(1, processed_number.length())); nit: foo.substr(1, foo.length()) is equivalent to just ...
6 years, 5 months ago (2014-07-16 17:50:18 UTC) #25
Evan Stade
https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc#newcode85 components/autofill/core/browser/phone_number_i18n.cc:85: processed_number = processed_number.substr(1, processed_number.length()); why do you have to ...
6 years, 5 months ago (2014-07-17 00:54:49 UTC) #26
ziran.sun
Updated code as per review comments from Ilya and Evan. All review comments have been ...
6 years, 5 months ago (2014-07-17 12:35:36 UTC) #27
Evan Stade
https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc#newcode85 components/autofill/core/browser/phone_number_i18n.cc:85: processed_number = processed_number.substr(1, processed_number.length()); On 2014/07/17 12:35:36, ziran.sun wrote: ...
6 years, 5 months ago (2014-07-17 17:28:51 UTC) #28
Ilya Sherman
LGTM, thanks. https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc#newcode85 components/autofill/core/browser/phone_number_i18n.cc:85: processed_number = processed_number.substr(1, processed_number.length()); On 2014/07/17 17:28:50, ...
6 years, 5 months ago (2014-07-17 18:44:33 UTC) #29
Evan Stade
lgtm https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc File components/autofill/core/browser/phone_number_i18n.cc (right): https://codereview.chromium.org/355823007/diff/280001/components/autofill/core/browser/phone_number_i18n.cc#newcode85 components/autofill/core/browser/phone_number_i18n.cc:85: processed_number = processed_number.substr(1, processed_number.length()); On 2014/07/17 18:44:33, Ilya ...
6 years, 5 months ago (2014-07-17 18:53:50 UTC) #30
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-17 20:08:08 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/355823007/300001
6 years, 5 months ago (2014-07-17 20:12:31 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 23:44:12 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 00:02:57 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/172189)
6 years, 5 months ago (2014-07-18 00:02:58 UTC) #35
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-18 09:36:10 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/355823007/320001
6 years, 5 months ago (2014-07-18 09:37:02 UTC) #37
ziran.sun
The CQ bit was unchecked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-18 09:37:15 UTC) #38
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-18 09:43:43 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/355823007/320001
6 years, 5 months ago (2014-07-18 09:44:49 UTC) #40
ziran.sun
The CQ bit was unchecked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-18 09:44:50 UTC) #41
ziran.sun
Update reviewer list. Lei Zhang/Jam, is it okay to review the code, especially changes on ...
6 years, 5 months ago (2014-07-18 09:53:32 UTC) #42
Ilya Sherman
-thestig, jam +aruslan
6 years, 5 months ago (2014-07-18 16:23:11 UTC) #43
aruslan
android test lgtm I hope you guys know what you are doing: this affects not ...
6 years, 5 months ago (2014-07-18 19:27:04 UTC) #44
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 5 months ago (2014-07-18 22:07:28 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/355823007/320001
6 years, 5 months ago (2014-07-18 22:08:45 UTC) #46
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 22:35:29 UTC) #47
Message was sent while issue was closed.
Change committed as 284226

Powered by Google App Engine
This is Rietveld 408576698