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

Issue 2889983002: Adds the AddressNormalizationManager and tests. (Closed)

Created:
3 years, 7 months ago by macourteau
Modified:
3 years, 7 months ago
Reviewers:
Mathieu, sebsg
CC:
chromium-reviews, mahmadi+paymentswatch_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org, sebsg, Moe
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds the AddressNormalizationManager and tests. This class makes it easy to manage multiple concurrent address normalization requests, and to have a callback executed when all address normalization requests have completed. BUG= R=mathp@chromium.org, sebsg@chromium.org Review-Url: https://codereview.chromium.org/2889983002 . Cr-Commit-Position: refs/heads/master@{#472918} Committed: https://chromium.googlesource.com/chromium/src/+/0aa5c726da0324909f7d891f2ca033c115edc372

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 20

Patch Set 3 : Addresses comments from mathp@. #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -0 lines) Patch
M components/payments/core/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A components/payments/core/address_normalization_manager.h View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A components/payments/core/address_normalization_manager.cc View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download
A components/payments/core/address_normalization_manager_unittest.cc View 1 2 1 chunk +65 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (19 generated)
macourteau
3 years, 7 months ago (2017-05-17 14:31:03 UTC) #2
Mathieu
Looks good, few comments! It's seb's code would like him to have a look too ...
3 years, 7 months ago (2017-05-17 16:45:14 UTC) #11
macourteau
https://codereview.chromium.org/2889983002/diff/20001/components/payments/core/address_normalization_manager.cc File components/payments/core/address_normalization_manager.cc (right): https://codereview.chromium.org/2889983002/diff/20001/components/payments/core/address_normalization_manager.cc#newcode23 components/payments/core/address_normalization_manager.cc:23: : public payments::AddressNormalizer::Delegate { On 2017/05/17 16:45:14, Mathieu wrote: ...
3 years, 7 months ago (2017-05-17 18:38:40 UTC) #12
sebsg
Very nice :) The code LGTM with a small concern for the use. https://codereview.chromium.org/2889983002/diff/40001/components/payments/core/address_normalization_manager.h File ...
3 years, 7 months ago (2017-05-17 19:30:24 UTC) #15
macourteau
https://codereview.chromium.org/2889983002/diff/40001/components/payments/core/address_normalization_manager.h File components/payments/core/address_normalization_manager.h (right): https://codereview.chromium.org/2889983002/diff/40001/components/payments/core/address_normalization_manager.h#newcode45 components/payments/core/address_normalization_manager.h:45: void StartNormalizingAddress(autofill::AutofillProfile* profile); On 2017/05/17 19:30:23, sebsg wrote: > ...
3 years, 7 months ago (2017-05-17 19:41:11 UTC) #16
Mathieu
lgtm https://codereview.chromium.org/2889983002/diff/20001/components/payments/core/address_normalization_manager.h File components/payments/core/address_normalization_manager.h (right): https://codereview.chromium.org/2889983002/diff/20001/components/payments/core/address_normalization_manager.h#newcode53 components/payments/core/address_normalization_manager.h:53: class NormalizerDelegate; On 2017/05/17 18:38:40, macourteau wrote: > ...
3 years, 7 months ago (2017-05-17 19:47:33 UTC) #17
macourteau
https://codereview.chromium.org/2889983002/diff/20001/components/payments/core/address_normalization_manager.h File components/payments/core/address_normalization_manager.h (right): https://codereview.chromium.org/2889983002/diff/20001/components/payments/core/address_normalization_manager.h#newcode53 components/payments/core/address_normalization_manager.h:53: class NormalizerDelegate; On 2017/05/17 19:47:33, Mathieu wrote: > On ...
3 years, 7 months ago (2017-05-17 19:52:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889983002/60001
3 years, 7 months ago (2017-05-17 19:53:04 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/447546)
3 years, 7 months ago (2017-05-17 22:38:14 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889983002/60001
3 years, 7 months ago (2017-05-18 13:58:11 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/448528)
3 years, 7 months ago (2017-05-18 16:49:19 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889983002/60001
3 years, 7 months ago (2017-05-18 17:31:10 UTC) #29
macourteau
3 years, 7 months ago (2017-05-18 20:40:59 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
0aa5c726da0324909f7d891f2ca033c115edc372 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698