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

Issue 2800713003: [Payments] Move parsing the PaymentMethodData to "core" (Closed)

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

Description

[Payments] Move parsing the PaymentMethodData to "core" This will allow it to be used on iOS as well. We now copy the mojom::PaymentMethodData entries to a common type (PaymentMethodData) before parsing. BUG=708052 TEST=existing components_unittests (PaymentRequestSpec) Review-Url: https://codereview.chromium.org/2800713003 Cr-Commit-Position: refs/heads/master@{#462323} Committed: https://chromium.googlesource.com/chromium/src/+/b65623a9c0565962586271410beb98e53c2beaee

Patch Set 1 #

Patch Set 2 : fixed TODO #

Total comments: 7

Patch Set 3 : fix comments #

Patch Set 4 : switch statement NOTREACHED #

Patch Set 5 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -65 lines) Patch
M components/payments/content/payment_request_spec.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/payments/content/payment_request_spec.cc View 1 2 3 2 chunks +55 lines, -64 lines 0 comments Download
M components/payments/core/payment_request_data_util.h View 3 chunks +17 lines, -0 lines 0 comments Download
M components/payments/core/payment_request_data_util.cc View 1 2 3 4 2 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Mathieu
Hi Rouslan, can you have a look? Thanks
3 years, 8 months ago (2017-04-05 17:31:22 UTC) #2
please use gerrit instead
lgtm % comments https://codereview.chromium.org/2800713003/diff/20001/components/payments/content/payment_request_spec.cc File components/payments/content/payment_request_spec.cc (right): https://codereview.chromium.org/2800713003/diff/20001/components/payments/content/payment_request_spec.cc#newcode22 components/payments/content/payment_request_spec.cc:22: return "amex"; Can we define an ...
3 years, 8 months ago (2017-04-05 19:29:25 UTC) #5
Mathieu
Thanks https://codereview.chromium.org/2800713003/diff/20001/components/payments/content/payment_request_spec.cc File components/payments/content/payment_request_spec.cc (right): https://codereview.chromium.org/2800713003/diff/20001/components/payments/content/payment_request_spec.cc#newcode22 components/payments/content/payment_request_spec.cc:22: return "amex"; On 2017/04/05 19:29:25, ಠ_ಠ wrote: > ...
3 years, 8 months ago (2017-04-05 20:28:33 UTC) #6
Mathieu
https://codereview.chromium.org/2800713003/diff/20001/components/payments/content/payment_request_spec.cc File components/payments/content/payment_request_spec.cc (right): https://codereview.chromium.org/2800713003/diff/20001/components/payments/content/payment_request_spec.cc#newcode22 components/payments/content/payment_request_spec.cc:22: return "amex"; On 2017/04/05 20:28:33, Mathieu wrote: > On ...
3 years, 8 months ago (2017-04-05 20:32:44 UTC) #7
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/2800713003/40001
3 years, 8 months ago (2017-04-05 20:42:53 UTC) #10
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/2800713003/60001
3 years, 8 months ago (2017-04-05 21:05:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/355821) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-04-05 21:32:19 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/2800713003/80001
3 years, 8 months ago (2017-04-06 00:47:07 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 02:03:18 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b65623a9c0565962586271410beb...

Powered by Google App Engine
This is Rietveld 408576698