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

Issue 2808983003: [Payments] Format shipping and billing phone number in normalizer. (Closed)

Created:
3 years, 8 months ago by sebsg
Modified:
3 years, 8 months ago
CC:
chromium-reviews, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org, agrieve+watch_chromium.org, mahmadi+paymentswatch_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Format shipping and billing phone number in normalizer. BUG=710545 Review-Url: https://codereview.chromium.org/2808983003 Cr-Commit-Position: refs/heads/master@{#464514} Committed: https://chromium.googlesource.com/chromium/src/+/bcb00124e73304f8d44ec9a78ce21bea2f10a1fa

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed mathp's comments #

Total comments: 2

Patch Set 3 : Addressed rouslan's comments #

Patch Set 4 : Rebase #

Patch Set 5 : Moved phone format function to util file #

Total comments: 2

Patch Set 6 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -29 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentResponseHelper.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsAndFreeShippingTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java View 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestRemoveBillingAddressTest.java View 1 chunk +1 line, -1 line 0 comments Download
M components/payments/core/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/payments/core/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/payments/core/address_normalizer.cc View 1 2 3 4 3 chunks +20 lines, -0 lines 0 comments Download
M components/payments/core/address_normalizer_unittest.cc View 1 2 7 chunks +68 lines, -14 lines 0 comments Download
M components/payments/core/payment_request_data_util.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M components/payments/core/payment_request_data_util.cc View 1 2 3 4 5 2 chunks +36 lines, -0 lines 0 comments Download
M components/payments/core/payment_request_data_util_unittest.cc View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 70 (59 generated)
sebsg
Hi Math, PTAL?
3 years, 8 months ago (2017-04-11 18:26:53 UTC) #4
Mathieu
just a couple of questions, looks good otherwise! https://codereview.chromium.org/2808983003/diff/20001/components/payments/core/address_normalizer.cc File components/payments/core/address_normalizer.cc (right): https://codereview.chromium.org/2808983003/diff/20001/components/payments/core/address_normalizer.cc#newcode68 components/payments/core/address_normalizer.cc:68: FormatPhoneNumber(); ...
3 years, 8 months ago (2017-04-11 18:53:31 UTC) #6
sebsg
Thanks Math, Rouslan could you please take a look? https://codereview.chromium.org/2808983003/diff/20001/components/payments/core/address_normalizer.cc File components/payments/core/address_normalizer.cc (right): https://codereview.chromium.org/2808983003/diff/20001/components/payments/core/address_normalizer.cc#newcode68 components/payments/core/address_normalizer.cc:68: ...
3 years, 8 months ago (2017-04-11 21:34:55 UTC) #13
please use gerrit instead
Good stuff! LGTM % comment. https://codereview.chromium.org/2808983003/diff/60001/components/payments/core/address_normalizer_unittest.cc File components/payments/core/address_normalizer_unittest.cc (right): https://codereview.chromium.org/2808983003/diff/60001/components/payments/core/address_normalizer_unittest.cc#newcode52 components/payments/core/address_normalizer_unittest.cc:52: AutofillProfile profile() { return ...
3 years, 8 months ago (2017-04-11 21:41:27 UTC) #14
sebsg
Thanks, sending to CQ. https://codereview.chromium.org/2808983003/diff/60001/components/payments/core/address_normalizer_unittest.cc File components/payments/core/address_normalizer_unittest.cc (right): https://codereview.chromium.org/2808983003/diff/60001/components/payments/core/address_normalizer_unittest.cc#newcode52 components/payments/core/address_normalizer_unittest.cc:52: AutofillProfile profile() { return profile_; ...
3 years, 8 months ago (2017-04-11 21:46:10 UTC) #15
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/2808983003/80001
3 years, 8 months ago (2017-04-11 21:46:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/387117)
3 years, 8 months ago (2017-04-11 22:38:49 UTC) #20
sebsg
Hi Math, I moved the libphonenumber use to a util file so it doesn't conflict ...
3 years, 8 months ago (2017-04-13 17:46:07 UTC) #62
Mathieu
lgtm https://codereview.chromium.org/2808983003/diff/250001/components/payments/core/payment_request_data_util.cc File components/payments/core/payment_request_data_util.cc (right): https://codereview.chromium.org/2808983003/diff/250001/components/payments/core/payment_request_data_util.cc#newcode159 components/payments/core/payment_request_data_util.cc:159: // Formats the given number |jphone_number| to update ...
3 years, 8 months ago (2017-04-13 17:59:48 UTC) #63
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/2808983003/270001
3 years, 8 months ago (2017-04-13 18:03:51 UTC) #66
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 19:54:43 UTC) #70
Message was sent while issue was closed.
Committed patchset #6 (id:270001) as
https://chromium.googlesource.com/chromium/src/+/bcb00124e73304f8d44ec9a78ce2...

Powered by Google App Engine
This is Rietveld 408576698