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

Issue 2803443003: [Payments] Added region load failure tolerance and tests to PR editor. (Closed)

Created:
3 years, 8 months ago by MAD
Modified:
3 years, 8 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, tfarina, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, rogerm+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Added region load failure tolerance and tests to PR editor. BUG=703758 TEST=browser_tests Review-Url: https://codereview.chromium.org/2803443003 Cr-Commit-Position: refs/heads/master@{#464427} Committed: https://chromium.googlesource.com/chromium/src/+/45271937a3aeee0c06e267d33e75d7ea0bee9605

Patch Set 1 #

Patch Set 2 : Sign bot error fixes #

Total comments: 28

Patch Set 3 : Rebase #

Patch Set 4 : CR Comments 1 #

Patch Set 5 : Fix a minor bot build error #

Patch Set 6 : Fixed a minor goof. #

Patch Set 7 : Rebase #

Patch Set 8 : Fixed unittest failure #

Patch Set 9 : Fixed another minor bot issue #

Patch Set 10 : Rename function post-rebase #

Total comments: 16

Patch Set 11 : OWNER comments 1 #

Patch Set 12 : Fixed bot error #

Total comments: 2

Patch Set 13 : D'Ho! #

Patch Set 14 : Fix a test leak by faking region data #

Total comments: 1

Patch Set 15 : Removed unneeded include. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+528 lines, -39 lines) Patch
A chrome/browser/payments/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/payments/chrome_payment_request_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/payments/chrome_payment_request_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +43 lines, -18 lines 0 comments Download
A chrome/browser/ui/views/payments/shipping_address_editor_view_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +298 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/validating_combobox.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/validating_textfield_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/validation_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/region_combobox_model.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -2 lines 0 comments Download
M components/autofill/core/browser/region_combobox_model.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +27 lines, -9 lines 0 comments Download
M components/autofill/core/browser/region_combobox_model_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -3 lines 0 comments Download
M components/payments/content/payment_request_state.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +10 lines, -0 lines 0 comments Download
M components/payments/content/payment_request_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +12 lines, -0 lines 0 comments Download
M components/payments/content/payment_response_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +13 lines, -0 lines 0 comments Download
M components/payments/core/payment_request_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +20 lines, -4 lines 0 comments Download

Messages

Total messages: 76 (57 generated)
MAD
3 years, 8 months ago (2017-04-04 20:59:27 UTC) #10
Mathieu
Hi MAD! Thanks for these tests. A few comments https://codereview.chromium.org/2803443003/diff/60001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h File chrome/browser/ui/views/payments/credit_card_editor_view_controller.h (right): https://codereview.chromium.org/2803443003/diff/60001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h#newcode61 chrome/browser/ui/views/payments/credit_card_editor_view_controller.h:61: ...
3 years, 8 months ago (2017-04-05 00:25:14 UTC) #14
MAD
Thanks for the comments. How about this? BYE MAD https://codereview.chromium.org/2803443003/diff/60001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h File chrome/browser/ui/views/payments/credit_card_editor_view_controller.h (right): https://codereview.chromium.org/2803443003/diff/60001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h#newcode61 chrome/browser/ui/views/payments/credit_card_editor_view_controller.h:61: ...
3 years, 8 months ago (2017-04-07 18:50:41 UTC) #16
Mathieu
lgtm, thanks!
3 years, 8 months ago (2017-04-07 18:56:03 UTC) #18
sebsg
You don't need it, but LGTM too :)
3 years, 8 months ago (2017-04-07 19:07:32 UTC) #19
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/2803443003/140001
3 years, 8 months ago (2017-04-07 19:19:14 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/405745)
3 years, 8 months ago (2017-04-07 19:28:25 UTC) #24
MAD
Fixed a unittests failure and added rouslan@chromium.org for OWNERs review. Thanks! BYE MAD
3 years, 8 months ago (2017-04-11 19:31:36 UTC) #28
please use gerrit instead
Looks good in general. A few minor comments. https://codereview.chromium.org/2803443003/diff/220001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h File chrome/browser/ui/views/payments/credit_card_editor_view_controller.h (right): https://codereview.chromium.org/2803443003/diff/220001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h#newcode71 chrome/browser/ui/views/payments/credit_card_editor_view_controller.h:71: void ...
3 years, 8 months ago (2017-04-11 21:05:35 UTC) #37
MAD
Thanks! How about this? BYE MAD https://codereview.chromium.org/2803443003/diff/220001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h File chrome/browser/ui/views/payments/credit_card_editor_view_controller.h (right): https://codereview.chromium.org/2803443003/diff/220001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h#newcode71 chrome/browser/ui/views/payments/credit_card_editor_view_controller.h:71: void ComboboxModelChanged(views::Combobox* combobox) ...
3 years, 8 months ago (2017-04-12 02:46:08 UTC) #42
please use gerrit instead
LGTM % comments/questions https://codereview.chromium.org/2803443003/diff/220001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h File chrome/browser/ui/views/payments/credit_card_editor_view_controller.h (right): https://codereview.chromium.org/2803443003/diff/220001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h#newcode71 chrome/browser/ui/views/payments/credit_card_editor_view_controller.h:71: void ComboboxModelChanged(views::Combobox* combobox) override{}; On 2017/04/12 ...
3 years, 8 months ago (2017-04-12 14:01:18 UTC) #55
MAD
Thanks! All answered... Now I need to double check why ASAN is seeing leaks in ...
3 years, 8 months ago (2017-04-12 15:50:12 UTC) #58
MAD
Please review again, at least against previous patch. I needed to add support to mock ...
3 years, 8 months ago (2017-04-13 12:13:57 UTC) #64
Mathieu
Thanks, this is good lgtm https://codereview.chromium.org/2803443003/diff/360001/chrome/browser/payments/chrome_payment_request_delegate.cc File chrome/browser/payments/chrome_payment_request_delegate.cc (right): https://codereview.chromium.org/2803443003/diff/360001/chrome/browser/payments/chrome_payment_request_delegate.cc#newcode17 chrome/browser/payments/chrome_payment_request_delegate.cc:17: #include "third_party/libaddressinput/messages.h" not sure ...
3 years, 8 months ago (2017-04-13 13:28:31 UTC) #67
MAD
Thanks Math, done! Rouslan, all good? BYE MAD
3 years, 8 months ago (2017-04-13 13:53:45 UTC) #68
please use gerrit instead
lgtm
3 years, 8 months ago (2017-04-13 14:17:42 UTC) #69
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/2803443003/380001
3 years, 8 months ago (2017-04-13 14:58:03 UTC) #72
MAD
Thanks! CQ' ing...
3 years, 8 months ago (2017-04-13 14:59:20 UTC) #73
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 16:08:35 UTC) #76
Message was sent while issue was closed.
Committed patchset #15 (id:380001) as
https://chromium.googlesource.com/chromium/src/+/45271937a3aeee0c06e267d33e75...

Powered by Google App Engine
This is Rietveld 408576698