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

Issue 298863012: Use upstream libaddressinput in Chrome. (Closed)

Created:
6 years, 7 months ago by please use gerrit instead
Modified:
6 years, 5 months ago
Reviewers:
Lei Zhang, Evan Stade
CC:
chromium-reviews, roubert
Visibility:
Public.

Description

Use upstream libaddressinput in Chrome. Most of the changes are mechanical switches from chromium/ to src/ directory in third_party/libadressinput/. To simplify the switch, autofill::AddressValidator is a shim between Chromium and i18n::addressinput::AddressValidator. The shim behaves the same way as Chromium's version of libaddressinput. The goal is to gradually remove the shim and make Chromium work directly with libaddressinupt. Upstream libaddressinput does not include suggestions, which now can be found in third_party/libadressinput/chromium/input_suggester.{h,cc}. A follow up patch will remove Chromium's version of libaddressinput. BUG=327046 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282408

Patch Set 1 : Initial. #

Total comments: 5

Patch Set 2 : Suggestion tests. #

Patch Set 3 : Rebase on top of https://codereview.chromium.org/304223010/ #

Patch Set 4 : Merged in https://codereview.chromium.org/302443011/ #

Patch Set 5 : Merged in https://codereview.chromium.org/300303002/ #

Total comments: 1

Patch Set 6 : Suggestions implementation. #

Patch Set 7 : Merged in https://codereview.chromium.org/316553006/ #

Patch Set 8 : Suggestion tests are passing. #

Patch Set 9 : Rebase on top of master. #

Patch Set 10 : Merged in https://codereview.chromium.org/315933002/. #

Patch Set 11 : Merged in https://codereview.chromium.org/316873002/. #

Patch Set 12 : Self review. #

Total comments: 61

Patch Set 13 : Ready to begin review. #

Patch Set 14 : Work in progress for suggestions impl. #

Total comments: 33

Patch Set 15 : Addressing comments. #

Total comments: 4

Patch Set 16 : Addressing comments. #

Patch Set 17 : Undo changes to chrome downloader and storage. #

Patch Set 18 : Merge in https://codereview.chromium.org/339673004/. #

Patch Set 19 : Chromify. #

Patch Set 20 : Verify that suggested addresses are valid. #

Patch Set 21 : Rebase. #

Patch Set 22 : Validate required fields without rules. #

Total comments: 9

Patch Set 23 : No maps or bitmaps in InputSuggester #

Patch Set 24 : Work in progress. #

Patch Set 25 : Fix all tests. #

Patch Set 26 : Work in progress. #

Total comments: 2

Patch Set 27 : Work in progress. #

Total comments: 2

Patch Set 28 : Improved input_suggester.{h,cc}. #

Patch Set 29 : Fix windows compile. #

Patch Set 30 : Whitelist strings used on all platforms. #

Patch Set 31 : Whitelist strings used on all platforms. #

Total comments: 14

Patch Set 32 : Maintain a buffer for canonical strings. #

Patch Set 33 : Fix AutofillProfileSyncableServiceTest. #

Total comments: 3

Patch Set 34 : Hide XK because ICU does not have it. #

Patch Set 35 : Use std::vector instead of ScopedVector. #

Patch Set 36 : Specify the string size in canonicalizer. #

Total comments: 12

Patch Set 37 : Valid postal code in suggestion. #

Patch Set 38 : Use ICU output directly as trie keys. #

Patch Set 39 : Make StringCanonicalizer not a scoped_ptr. #

Total comments: 10

Patch Set 40 : Allow copying objects. #

Patch Set 41 : Fixup includes and comments for tries and ICU. #

Total comments: 4

Patch Set 42 : Vector of bytes. #

Patch Set 43 : Rebase on top of https://codereview.chromium.org/359213002/ #

Total comments: 12

Patch Set 44 : Addressing comments. #

Total comments: 2

Patch Set 45 : Addressing comments. #

Total comments: 16

Patch Set 46 : Easier to read json implementation. #

Patch Set 47 : Make sure GN build still works. #

Total comments: 6

Patch Set 48 : Whitespace. #

Patch Set 49 : Less copying. #

Total comments: 7

Patch Set 50 : Fix windows compile. #

Patch Set 51 : Addressed comments. #

Patch Set 52 : Do not dcheck right before derefing. #

Patch Set 53 : Fix windows compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2257 lines, -1745 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 6 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 9 chunks +34 lines, -31 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 5 chunks +12 lines, -17 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_i18n_input.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 5 chunks +20 lines, -12 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_i18n_input_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/country_combobox_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 3 chunks +18 lines, -5 lines 0 comments Download
M chrome/browser/ui/autofill/country_combobox_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/ui/autofill/mock_address_validator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/autofill_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 4 chunks +19 lines, -8 lines 0 comments Download
M chrome/tools/build/repack_locales.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +1 line, -6 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/address_i18n.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_country.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 4 chunks +11 lines, -5 lines 0 comments Download
M components/autofill/core/browser/autofill_country_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +16 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/libaddressinput/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 3 chunks +67 lines, -96 lines 0 comments Download
M third_party/libaddressinput/README.chromium View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/libaddressinput/chromium/addressinput_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/libaddressinput/chromium/addressinput_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 3 chunks +16 lines, -18 lines 0 comments Download
M third_party/libaddressinput/chromium/addressinput_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 chunk +1 line, -1 line 0 comments Download
A + third_party/libaddressinput/chromium/chrome_address_validator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 6 chunks +73 lines, -28 lines 0 comments Download
A third_party/libaddressinput/chromium/chrome_address_validator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 1 chunk +154 lines, -0 lines 0 comments Download
A + third_party/libaddressinput/chromium/chrome_address_validator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 17 chunks +284 lines, -156 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_downloader_impl.h View 16 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_downloader_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +28 lines, -24 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_downloader_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 3 chunks +16 lines, -12 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_rule_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +1 line, -1 line 0 comments Download
M third_party/libaddressinput/chromium/chrome_storage_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +6 lines, -8 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_storage_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +22 lines, -22 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_storage_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 2 chunks +3 lines, -3 lines 0 comments Download
A third_party/libaddressinput/chromium/fallback_data_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +22 lines, -0 lines 0 comments Download
A + third_party/libaddressinput/chromium/fallback_data_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +9 lines, -18 lines 0 comments Download
A third_party/libaddressinput/chromium/fallback_data_store_unittest.cc View 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/input_suggester.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +133 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/input_suggester.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +521 lines, -0 lines 0 comments Download
M third_party/libaddressinput/chromium/json.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +104 lines, -73 lines 0 comments Download
A + third_party/libaddressinput/chromium/libaddressinput_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 2 chunks +7 lines, -7 lines 0 comments Download
A + third_party/libaddressinput/chromium/libaddressinput_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 3 chunks +19 lines, -22 lines 0 comments Download
A + third_party/libaddressinput/chromium/libaddressinput_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 2 chunks +5 lines, -5 lines 0 comments Download
A third_party/libaddressinput/chromium/override/basictypes_override.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/libaddressinput/chromium/preload_address_validator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -141 lines 0 comments Download
M third_party/libaddressinput/chromium/preload_address_validator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -144 lines 0 comments Download
M third_party/libaddressinput/chromium/preload_address_validator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -612 lines 0 comments Download
A third_party/libaddressinput/chromium/storage_test_runner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/storage_test_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +88 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/string_compare.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +69 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/string_compare_unittest.cc View 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/trie.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/libaddressinput/chromium/trie.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +81 lines, -0 lines 0 comments Download
A + third_party/libaddressinput/chromium/trie_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 6 chunks +37 lines, -42 lines 0 comments Download
M third_party/libaddressinput/libaddressinput.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 1 chunk +93 lines, -172 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 51 (0 generated)
please use gerrit instead
This file gives a good overview of things still to be done :-) In libaddressinput: ...
6 years, 7 months ago (2014-05-23 14:44:52 UTC) #1
please use gerrit instead
On 2014/05/23 14:44:52, Rouslan Solomakhin wrote: > In chrome: > Rouslan: Use the address formatter. ...
6 years, 7 months ago (2014-05-23 14:49:38 UTC) #2
roubert
https://codereview.chromium.org/298863012/diff/320001/third_party/libaddressinput/libaddressinput.gyp File third_party/libaddressinput/libaddressinput.gyp (right): https://codereview.chromium.org/298863012/diff/320001/third_party/libaddressinput/libaddressinput.gyp#newcode52 third_party/libaddressinput/libaddressinput.gyp:52: 'chromium/override/', You got some tab characters instead of spaces ...
6 years, 6 months ago (2014-06-02 20:34:58 UTC) #3
please use gerrit instead
On 2014/06/02 20:34:58, roubert wrote: > https://codereview.chromium.org/298863012/diff/320001/third_party/libaddressinput/libaddressinput.gyp > File third_party/libaddressinput/libaddressinput.gyp (right): > > https://codereview.chromium.org/298863012/diff/320001/third_party/libaddressinput/libaddressinput.gyp#newcode52 > ...
6 years, 6 months ago (2014-06-02 20:40:22 UTC) #4
please use gerrit instead
Some notes to myself on what needs to be done to be ready for a ...
6 years, 6 months ago (2014-06-05 22:22:49 UTC) #5
roubert
One thing worth thinking about is those changes to make the change easier to review: ...
6 years, 6 months ago (2014-06-06 14:17:03 UTC) #6
please use gerrit instead
On 2014/06/06 14:17:03, roubert wrote: > One thing worth thinking about is those changes to ...
6 years, 6 months ago (2014-06-06 16:53:55 UTC) #7
please use gerrit instead
Some things accomplished. https://codereview.chromium.org/298863012/diff/510001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc File chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc (right): https://codereview.chromium.org/298863012/diff/510001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc#newcode1717 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc:1717: Validate(CountryCodeMatcher("DE"), _, _)).Times(2). On 2014/06/05 22:22:47, ...
6 years, 6 months ago (2014-06-09 23:28:18 UTC) #8
please use gerrit instead
Evan: PTAL Patch Set 13. I'm still figuring out how to make the suggestions.{h,cc}. implementation ...
6 years, 6 months ago (2014-06-10 00:05:09 UTC) #9
Evan Stade
https://codereview.chromium.org/298863012/diff/980054/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/298863012/diff/980054/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1967 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1967: l10n_util::GetStringUTF8, g_browser_process->GetApplicationLocale()); I don't understand the purpose of passing ...
6 years, 6 months ago (2014-06-12 00:18:09 UTC) #10
please use gerrit instead
Evan: PTAL Patch Set 15. Thank you for the review! https://codereview.chromium.org/298863012/diff/980054/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/298863012/diff/980054/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1967 ...
6 years, 6 months ago (2014-06-13 19:22:09 UTC) #11
Evan Stade
https://codereview.chromium.org/298863012/diff/980054/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/298863012/diff/980054/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1967 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1967: l10n_util::GetStringUTF8, g_browser_process->GetApplicationLocale()); On 2014/06/13 19:22:09, Rouslan Solomakhin wrote: > ...
6 years, 6 months ago (2014-06-13 20:07:09 UTC) #12
please use gerrit instead
Evan: PTAL Patch Set 16. (Note that it does not build until libaddressinput has scoped_ptr ...
6 years, 6 months ago (2014-06-16 19:02:24 UTC) #13
please use gerrit instead
Evan: PTAL Patch Set 19. It uses the latest revision of libaddressinput that allocates strings ...
6 years, 6 months ago (2014-06-16 23:37:57 UTC) #14
Evan Stade
https://codereview.chromium.org/298863012/diff/1230001/third_party/libaddressinput/chromium/chrome_downloader_impl.cc File third_party/libaddressinput/chromium/chrome_downloader_impl.cc (right): https://codereview.chromium.org/298863012/diff/1230001/third_party/libaddressinput/chromium/chrome_downloader_impl.cc#newcode72 third_party/libaddressinput/chromium/chrome_downloader_impl.cc:72: request->second->callback(ok, request->second->url, data.release()); pretty lame that libaddressinput doesn't use ...
6 years, 6 months ago (2014-06-19 00:38:00 UTC) #15
please use gerrit instead
Evan: PTAL Patch Set 23. I switched InputSuggester from maps and bitmaps to simple structs ...
6 years, 6 months ago (2014-06-20 21:09:15 UTC) #16
Evan Stade
On 2014/06/20 21:09:15, Rouslan Solomakhin wrote: > Evan: PTAL Patch Set 23. > > I ...
6 years, 6 months ago (2014-06-20 22:32:27 UTC) #17
roubert
https://codereview.chromium.org/298863012/diff/1490001/third_party/libaddressinput/chromium/string_compare.cc File third_party/libaddressinput/chromium/string_compare.cc (right): https://codereview.chromium.org/298863012/diff/1490001/third_party/libaddressinput/chromium/string_compare.cc#newcode22 third_party/libaddressinput/chromium/string_compare.cc:22: return const_cast<Impl*>(this)->NaturalCompare(a, b) == 0; Is this const_cast<> here ...
6 years, 6 months ago (2014-06-24 15:12:56 UTC) #18
please use gerrit instead
Evan: PTAL Patch Set 28. https://codereview.chromium.org/298863012/diff/1350001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1350001/third_party/libaddressinput/chromium/input_suggester.cc#newcode258 third_party/libaddressinput/chromium/input_suggester.cc:258: // This algorithm assumes ...
6 years, 6 months ago (2014-06-24 21:23:43 UTC) #19
Evan Stade
InputSuggester looks better, thanks https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/input_suggester.cc#newcode85 third_party/libaddressinput/chromium/input_suggester.cc:85: const bool region_name_matches; this isn't ...
6 years, 6 months ago (2014-06-25 03:37:16 UTC) #20
please use gerrit instead
Evan: PTAL Patch Set 32. https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/input_suggester.cc#newcode85 third_party/libaddressinput/chromium/input_suggester.cc:85: const bool region_name_matches; On ...
6 years, 6 months ago (2014-06-25 20:41:16 UTC) #21
please use gerrit instead
Notes on changes to autofill_country.cc. https://codereview.chromium.org/298863012/diff/1740001/components/autofill/core/browser/autofill_country.cc File components/autofill/core/browser/autofill_country.cc (left): https://codereview.chromium.org/298863012/diff/1740001/components/autofill/core/browser/autofill_country.cc#oldcode71 components/autofill/core/browser/autofill_country.cc:71: ADDRESS_REQUIREMENTS_UNKNOWN } }, This ...
6 years, 6 months ago (2014-06-26 00:35:16 UTC) #22
Evan Stade
I'm not sure if it's worth doing now, but I'm pretty sure you could break ...
6 years, 6 months ago (2014-06-26 00:46:15 UTC) #23
please use gerrit instead
Evan: PTAL Patch Set 36. I'll be sending your smaller CLs now following plan (c) ...
6 years, 6 months ago (2014-06-26 22:49:50 UTC) #24
Evan Stade
https://codereview.chromium.org/298863012/diff/1800001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1800001/third_party/libaddressinput/chromium/input_suggester.cc#newcode194 third_party/libaddressinput/chromium/input_suggester.cc:194: // object is not usable after this call due ...
6 years, 6 months ago (2014-06-27 01:26:59 UTC) #25
please use gerrit instead
In patch set 39. https://codereview.chromium.org/298863012/diff/1800001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1800001/third_party/libaddressinput/chromium/input_suggester.cc#newcode194 third_party/libaddressinput/chromium/input_suggester.cc:194: // object is not usable ...
6 years, 6 months ago (2014-06-27 08:43:38 UTC) #26
Evan Stade
https://codereview.chromium.org/298863012/diff/1850001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1850001/third_party/libaddressinput/chromium/input_suggester.cc#newcode215 third_party/libaddressinput/chromium/input_suggester.cc:215: std::map<AddressField, RegionsMatchInput*> regions_match_input_; why not std::map<AddressField, RegionsMatchInput>? https://codereview.chromium.org/298863012/diff/1850001/third_party/libaddressinput/chromium/input_suggester.cc#newcode325 third_party/libaddressinput/chromium/input_suggester.cc:325: ...
6 years, 5 months ago (2014-06-27 16:42:33 UTC) #27
please use gerrit instead
In patch set 40. https://codereview.chromium.org/298863012/diff/1850001/third_party/libaddressinput/chromium/input_suggester.cc File third_party/libaddressinput/chromium/input_suggester.cc (right): https://codereview.chromium.org/298863012/diff/1850001/third_party/libaddressinput/chromium/input_suggester.cc#newcode215 third_party/libaddressinput/chromium/input_suggester.cc:215: std::map<AddressField, RegionsMatchInput*> regions_match_input_; On 2014/06/27 ...
6 years, 5 months ago (2014-06-27 19:34:39 UTC) #28
Evan Stade
https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h File third_party/libaddressinput/chromium/trie.h (right): https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h#newcode35 third_party/libaddressinput/chromium/trie.h:35: void AddDataForKey(const std::string& key, const T& data_item); this was ...
6 years, 5 months ago (2014-06-27 22:44:38 UTC) #29
please use gerrit instead
In patch set 42. https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h File third_party/libaddressinput/chromium/trie.h (right): https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h#newcode35 third_party/libaddressinput/chromium/trie.h:35: void AddDataForKey(const std::string& key, const ...
6 years, 5 months ago (2014-06-28 22:05:21 UTC) #30
Evan Stade
https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h File third_party/libaddressinput/chromium/trie.h (right): https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h#newcode35 third_party/libaddressinput/chromium/trie.h:35: void AddDataForKey(const std::string& key, const T& data_item); On 2014/06/28 ...
6 years, 5 months ago (2014-06-30 18:49:39 UTC) #31
Evan Stade
https://codereview.chromium.org/298863012/diff/1970001/third_party/libaddressinput/chromium/has_all_required_fields.cc File third_party/libaddressinput/chromium/has_all_required_fields.cc (right): https://codereview.chromium.org/298863012/diff/1970001/third_party/libaddressinput/chromium/has_all_required_fields.cc#newcode1 third_party/libaddressinput/chromium/has_all_required_fields.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 5 months ago (2014-06-30 18:51:06 UTC) #32
please use gerrit instead
In patch set 44. https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h File third_party/libaddressinput/chromium/trie.h (right): https://codereview.chromium.org/298863012/diff/1680001/third_party/libaddressinput/chromium/trie.h#newcode35 third_party/libaddressinput/chromium/trie.h:35: void AddDataForKey(const std::string& key, const ...
6 years, 5 months ago (2014-07-01 04:53:50 UTC) #33
Evan Stade
https://codereview.chromium.org/298863012/diff/1970001/third_party/libaddressinput/chromium/has_all_required_fields.cc File third_party/libaddressinput/chromium/has_all_required_fields.cc (right): https://codereview.chromium.org/298863012/diff/1970001/third_party/libaddressinput/chromium/has_all_required_fields.cc#newcode1 third_party/libaddressinput/chromium/has_all_required_fields.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 5 months ago (2014-07-01 19:03:31 UTC) #34
please use gerrit instead
In patch set 45. https://codereview.chromium.org/298863012/diff/1970001/third_party/libaddressinput/chromium/has_all_required_fields.cc File third_party/libaddressinput/chromium/has_all_required_fields.cc (right): https://codereview.chromium.org/298863012/diff/1970001/third_party/libaddressinput/chromium/has_all_required_fields.cc#newcode1 third_party/libaddressinput/chromium/has_all_required_fields.cc:1: // Copyright 2014 The Chromium ...
6 years, 5 months ago (2014-07-01 20:43:46 UTC) #35
Evan Stade
https://codereview.chromium.org/298863012/diff/2010001/third_party/libaddressinput/chromium/chrome_address_validator.h File third_party/libaddressinput/chromium/chrome_address_validator.h (right): https://codereview.chromium.org/298863012/diff/2010001/third_party/libaddressinput/chromium/chrome_address_validator.h#newcode31 third_party/libaddressinput/chromium/chrome_address_validator.h:31: class LoadRulesListener; you can define LoadRulesListener in this file ...
6 years, 5 months ago (2014-07-07 21:59:09 UTC) #36
please use gerrit instead
In patch set 46. https://codereview.chromium.org/298863012/diff/2010001/third_party/libaddressinput/chromium/chrome_address_validator.h File third_party/libaddressinput/chromium/chrome_address_validator.h (right): https://codereview.chromium.org/298863012/diff/2010001/third_party/libaddressinput/chromium/chrome_address_validator.h#newcode31 third_party/libaddressinput/chromium/chrome_address_validator.h:31: class LoadRulesListener; On 2014/07/07 21:59:07, ...
6 years, 5 months ago (2014-07-08 22:47:59 UTC) #37
Evan Stade
https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc File third_party/libaddressinput/chromium/json.cc (right): https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc#newcode73 third_party/libaddressinput/chromium/json.cc:73: std::string GetStringValueForKey(const std::string& key) const { this adds a ...
6 years, 5 months ago (2014-07-09 23:35:31 UTC) #38
please use gerrit instead
https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc File third_party/libaddressinput/chromium/json.cc (right): https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc#newcode73 third_party/libaddressinput/chromium/json.cc:73: std::string GetStringValueForKey(const std::string& key) const { On 2014/07/09 23:35:31, ...
6 years, 5 months ago (2014-07-09 23:38:55 UTC) #39
Evan Stade
https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc File third_party/libaddressinput/chromium/json.cc (right): https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc#newcode73 third_party/libaddressinput/chromium/json.cc:73: std::string GetStringValueForKey(const std::string& key) const { On 2014/07/09 23:38:55, ...
6 years, 5 months ago (2014-07-09 23:45:32 UTC) #40
please use gerrit instead
https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc File third_party/libaddressinput/chromium/json.cc (right): https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc#newcode96 third_party/libaddressinput/chromium/json.cc:96: const Json* FindDictionary(const std::string& key) { On 2014/07/09 23:35:31, ...
6 years, 5 months ago (2014-07-09 23:47:30 UTC) #41
please use gerrit instead
In patch set 49. https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc File third_party/libaddressinput/chromium/json.cc (right): https://codereview.chromium.org/298863012/diff/2050001/third_party/libaddressinput/chromium/json.cc#newcode73 third_party/libaddressinput/chromium/json.cc:73: std::string GetStringValueForKey(const std::string& key) const ...
6 years, 5 months ago (2014-07-09 23:53:22 UTC) #42
Evan Stade
lgtm https://codereview.chromium.org/298863012/diff/2090001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/298863012/diff/2090001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode2026 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:2026: true, // Enable examples. I had to go ...
6 years, 5 months ago (2014-07-10 00:08:33 UTC) #43
please use gerrit instead
Lei: OWNERS PTAL chrome/tools/build/repack_locales.py
6 years, 5 months ago (2014-07-10 00:19:47 UTC) #44
please use gerrit instead
Evan, please see the question inline. https://codereview.chromium.org/298863012/diff/2090001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/298863012/diff/2090001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode2026 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:2026: true, // Enable ...
6 years, 5 months ago (2014-07-10 01:07:34 UTC) #45
Lei Zhang
lgtm stamp
6 years, 5 months ago (2014-07-10 01:36:44 UTC) #46
please use gerrit instead
Sending to CQ. https://codereview.chromium.org/298863012/diff/2090001/third_party/libaddressinput/chromium/json.cc File third_party/libaddressinput/chromium/json.cc (right): https://codereview.chromium.org/298863012/diff/2090001/third_party/libaddressinput/chromium/json.cc#newcode134 third_party/libaddressinput/chromium/json.cc:134: DCHECK(impl_); On 2014/07/10 01:07:34, Rouslan Solomakhin ...
6 years, 5 months ago (2014-07-10 16:46:23 UTC) #47
please use gerrit instead
The CQ bit was checked by rouslan@chromium.org
6 years, 5 months ago (2014-07-10 16:51:09 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/298863012/2170001
6 years, 5 months ago (2014-07-10 16:52:50 UTC) #49
please use gerrit instead
https://codereview.appspot.com/112940044/ - "Avoid string copying in json.cc." (in upstream)
6 years, 5 months ago (2014-07-10 17:41:04 UTC) #50
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 20:04:46 UTC) #51
Message was sent while issue was closed.
Change committed as 282408

Powered by Google App Engine
This is Rietveld 408576698