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

Issue 145553009: rAc: use libaddressinput to validate international addresses. (Closed)

Created:
6 years, 11 months ago by Dan Beam
Modified:
6 years, 10 months ago
Reviewers:
Lei Zhang, Evan Stade
CC:
chromium-reviews, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

rAc: use libaddressinput to validate international addresses. BUG=317839 R=estade@chromium.org Based on https://codereview.chromium.org/105823007/ by Evan Stade <estade@chromium.org>;. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248365

Patch Set 1 : . #

Total comments: 12

Patch Set 2 : nits #

Total comments: 14

Patch Set 3 : fixes #

Total comments: 10

Patch Set 4 : gypi changes for android/ios compile #

Total comments: 2

Patch Set 5 : SO cache #

Total comments: 6

Patch Set 6 : win compile? #

Total comments: 12

Patch Set 7 : fix !sources path for android build to work? #

Total comments: 4

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+457 lines, -152 lines) Patch
A chrome/browser/autofill/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/autofill/validation_rules_storage_factory.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/autofill/validation_rules_storage_factory.cc View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/DEPS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.h View 1 2 3 4 5 6 7 9 chunks +31 lines, -13 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 7 17 chunks +123 lines, -15 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 3 4 5 6 9 chunks +85 lines, -5 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_i18n_input.h View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc View 1 2 3 4 5 6 5 chunks +57 lines, -30 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper.h View 1 2 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper.cc View 1 2 3 3 chunks +4 lines, -32 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper_unittest.cc View 1 2 3 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 4 chunks +27 lines, -17 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_type.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/libaddressinput/chromium/cpp/src/retriever.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/libaddressinput/libaddressinput.gyp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (0 generated)
Dan Beam
do you want me to split this CL up?
6 years, 11 months ago (2014-01-25 02:27:57 UTC) #1
Evan Stade
pass 1 https://codereview.chromium.org/145553009/diff/110001/chrome/browser/autofill/address_storage_factory.cc File chrome/browser/autofill/address_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/110001/chrome/browser/autofill/address_storage_factory.cc#newcode21 chrome/browser/autofill/address_storage_factory.cc:21: Storage* AddressStorageFactory::CreateStorage() { make this return a ...
6 years, 11 months ago (2014-01-27 23:11:14 UTC) #2
Dan Beam
https://codereview.chromium.org/145553009/diff/110001/chrome/browser/autofill/address_storage_factory.cc File chrome/browser/autofill/address_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/110001/chrome/browser/autofill/address_storage_factory.cc#newcode21 chrome/browser/autofill/address_storage_factory.cc:21: Storage* AddressStorageFactory::CreateStorage() { On 2014/01/27 23:11:15, Evan Stade wrote: ...
6 years, 10 months ago (2014-01-28 02:22:36 UTC) #3
Evan Stade
https://codereview.chromium.org/145553009/diff/170001/chrome/browser/autofill/address_storage_factory.h File chrome/browser/autofill/address_storage_factory.h (right): https://codereview.chromium.org/145553009/diff/170001/chrome/browser/autofill/address_storage_factory.h#newcode25 chrome/browser/autofill/address_storage_factory.h:25: class AddressStorageFactory { s/AddressStorageFactory/ValidationRulesStorageFactory https://codereview.chromium.org/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1724 ...
6 years, 10 months ago (2014-01-28 19:23:11 UTC) #4
Evan Stade
https://codereview.chromium.org/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode2659 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:2659: scoped_ptr< ::i18n::addressinput::Downloader> downloader( move this all to show
6 years, 10 months ago (2014-01-28 19:25:08 UTC) #5
Dan Beam
https://chromiumcodereview.appspot.com/145553009/diff/170001/chrome/browser/autofill/address_storage_factory.h File chrome/browser/autofill/address_storage_factory.h (right): https://chromiumcodereview.appspot.com/145553009/diff/170001/chrome/browser/autofill/address_storage_factory.h#newcode25 chrome/browser/autofill/address_storage_factory.h:25: class AddressStorageFactory { On 2014/01/28 19:23:12, Evan Stade wrote: ...
6 years, 10 months ago (2014-01-30 04:51:35 UTC) #6
Evan Stade
https://chromiumcodereview.appspot.com/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1724 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1724: if (!i18ninput::Enabled() && !value.empty() && On 2014/01/30 04:51:36, Dan ...
6 years, 10 months ago (2014-01-30 04:58:20 UTC) #7
Dan Beam
https://chromiumcodereview.appspot.com/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/145553009/diff/170001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1724 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1724: if (!i18ninput::Enabled() && !value.empty() && On 2014/01/30 04:58:20, Evan ...
6 years, 10 months ago (2014-01-30 06:28:58 UTC) #8
Evan Stade
https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc File chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc (right): https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc#newcode169 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc:169: get_info.Run(AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE))); HTML_MODE_NONE is used for AutofillTypes that don't ...
6 years, 10 months ago (2014-01-30 17:25:38 UTC) #9
Dan Beam
https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc File chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc (right): https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc#newcode169 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc:169: get_info.Run(AutofillType(HTML_TYPE_COUNTRY_CODE, HTML_MODE_NONE))); On 2014/01/30 17:25:39, Evan Stade wrote: > ...
6 years, 10 months ago (2014-01-30 17:43:49 UTC) #10
Evan Stade
https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/field_map_wrapper.h File chrome/browser/ui/autofill/field_map_wrapper.h (right): https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/field_map_wrapper.h#newcode16 chrome/browser/ui/autofill/field_map_wrapper.h:16: class FieldMapWrapper { On 2014/01/30 17:43:50, Dan Beam wrote: ...
6 years, 10 months ago (2014-01-30 17:56:28 UTC) #11
Dan Beam
https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/field_map_wrapper.h File chrome/browser/ui/autofill/field_map_wrapper.h (right): https://codereview.chromium.org/145553009/diff/350001/chrome/browser/ui/autofill/field_map_wrapper.h#newcode16 chrome/browser/ui/autofill/field_map_wrapper.h:16: class FieldMapWrapper { On 2014/01/30 17:56:29, Evan Stade wrote: ...
6 years, 10 months ago (2014-01-30 20:34:48 UTC) #12
Dan Beam
+thestig@ for chrome/common/chrome_paths.*
6 years, 10 months ago (2014-01-30 23:54:29 UTC) #13
Lei Zhang
https://codereview.chromium.org/145553009/diff/420001/chrome/common/chrome_paths.cc File chrome/common/chrome_paths.cc (right): https://codereview.chromium.org/145553009/diff/420001/chrome/common/chrome_paths.cc#newcode411 chrome/common/chrome_paths.cc:411: case chrome::FILE_LIBADDRESSINPUT_CACHE: Instead, put the file name in chrome/common/chrome_constants.cc ...
6 years, 10 months ago (2014-01-31 00:26:40 UTC) #14
Dan Beam
thestig@: fyi, no changes in chrome/common anymore... https://codereview.chromium.org/145553009/diff/420001/chrome/common/chrome_paths.cc File chrome/common/chrome_paths.cc (right): https://codereview.chromium.org/145553009/diff/420001/chrome/common/chrome_paths.cc#newcode411 chrome/common/chrome_paths.cc:411: case chrome::FILE_LIBADDRESSINPUT_CACHE: ...
6 years, 10 months ago (2014-01-31 01:34:28 UTC) #15
Lei Zhang
https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc File chrome/browser/autofill/validation_rules_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc#newcode34 chrome/browser/autofill/validation_rules_storage_factory.cc:34: user_data_dir.Append(FILE_PATH_LITERAL("libaddressinput")); Do you want to give it a more ...
6 years, 10 months ago (2014-01-31 02:07:10 UTC) #16
Evan Stade
https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc File chrome/browser/autofill/validation_rules_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc#newcode34 chrome/browser/autofill/validation_rules_storage_factory.cc:34: user_data_dir.Append(FILE_PATH_LITERAL("libaddressinput")); On 2014/01/31 02:07:11, Lei Zhang wrote: > Do ...
6 years, 10 months ago (2014-01-31 04:09:51 UTC) #17
Lei Zhang
https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc File chrome/browser/autofill/validation_rules_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc#newcode1 chrome/browser/autofill/validation_rules_storage_factory.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 10 months ago (2014-01-31 05:02:14 UTC) #18
Dan Beam
https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc File chrome/browser/autofill/validation_rules_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc#newcode34 chrome/browser/autofill/validation_rules_storage_factory.cc:34: user_data_dir.Append(FILE_PATH_LITERAL("libaddressinput")); On 2014/01/31 05:02:15, Lei Zhang wrote: > On ...
6 years, 10 months ago (2014-01-31 19:24:54 UTC) #19
Dan Beam
https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc File chrome/browser/autofill/validation_rules_storage_factory.cc (right): https://codereview.chromium.org/145553009/diff/440001/chrome/browser/autofill/validation_rules_storage_factory.cc#newcode34 chrome/browser/autofill/validation_rules_storage_factory.cc:34: user_data_dir.Append(FILE_PATH_LITERAL("libaddressinput")); On 2014/01/31 19:24:55, Dan Beam wrote: > On ...
6 years, 10 months ago (2014-02-01 00:43:21 UTC) #20
Evan Stade
lgtm https://codereview.chromium.org/145553009/diff/520001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/145553009/diff/520001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode3208 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:3208: ^H https://codereview.chromium.org/145553009/diff/520001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h File chrome/browser/ui/autofill/autofill_dialog_controller_impl.h (right): https://codereview.chromium.org/145553009/diff/520001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h#newcode727 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h:727: scoped_ptr< ...
6 years, 10 months ago (2014-02-01 00:56:30 UTC) #21
Dan Beam
https://codereview.chromium.org/145553009/diff/520001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/145553009/diff/520001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode3208 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:3208: On 2014/02/01 00:56:31, Evan Stade wrote: > ^H Done. ...
6 years, 10 months ago (2014-02-01 01:14:53 UTC) #22
Dan Beam
The CQ bit was checked by dbeam@chromium.org
6 years, 10 months ago (2014-02-01 01:15:03 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/145553009/620001
6 years, 10 months ago (2014-02-01 01:15:09 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 01:49:28 UTC) #25
commit-bot: I haz the power
Retried try job too often on linux_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_clang&number=173499
6 years, 10 months ago (2014-02-01 01:49:29 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:49:32 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:49:35 UTC) #28
Dan Beam
The CQ bit was checked by dbeam@chromium.org
6 years, 10 months ago (2014-02-01 02:02:24 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/145553009/620001
6 years, 10 months ago (2014-02-01 02:02:47 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 02:45:38 UTC) #31
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 10 months ago (2014-02-01 02:45:39 UTC) #32
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:45:43 UTC) #33
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:45:45 UTC) #34
Dan Beam
The CQ bit was checked by dbeam@chromium.org
6 years, 10 months ago (2014-02-01 02:46:35 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/145553009/620001
6 years, 10 months ago (2014-02-01 02:46:57 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 03:23:44 UTC) #37
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 10 months ago (2014-02-01 03:23:45 UTC) #38
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:23:53 UTC) #39
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:23:55 UTC) #40
Dan Beam
The CQ bit was checked by dbeam@chromium.org
6 years, 10 months ago (2014-02-01 03:30:00 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/145553009/620001
6 years, 10 months ago (2014-02-01 03:30:24 UTC) #42
commit-bot: I haz the power
Change committed as 248365
6 years, 10 months ago (2014-02-01 14:46:33 UTC) #43
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 14:46:40 UTC) #44
commit-bot: I haz the power
6 years, 10 months ago (2014-02-01 14:46:40 UTC) #45
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698