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

Issue 2779453002: [Payments] Return the preferred payment method name to the merchant (Closed)

Created:
3 years, 9 months ago by Mathieu
Modified:
3 years, 9 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] Return the preferred payment method name to the merchant In the PaymentResponse, the method_name field can vary between "basic-card" and the card network directly (e.g., "visa"), depending where the network was first specified. BUG=701952 TEST=components_unittests Review-Url: https://codereview.chromium.org/2779453002 Cr-Commit-Position: refs/heads/master@{#459671} Committed: https://chromium.googlesource.com/chromium/src/+/600bab5603e925b489b69a83d3d4eb7170a2e649

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed comments #

Patch Set 3 : compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -6 lines) Patch
M components/payments/content/payment_request_spec.h View 1 3 chunks +11 lines, -0 lines 0 comments Download
M components/payments/content/payment_request_spec.cc View 1 2 4 chunks +10 lines, -4 lines 0 comments Download
M components/payments/content/payment_request_spec_unittest.cc View 1 chunk +57 lines, -0 lines 0 comments Download
M components/payments/content/payment_request_state.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M components/payments/content/payment_request_state_unittest.cc View 1 3 chunks +40 lines, -1 line 0 comments Download

Messages

Total messages: 20 (10 generated)
Mathieu
Rouslan, PTAL!
3 years, 9 months ago (2017-03-25 02:29:00 UTC) #2
please use gerrit instead
https://codereview.chromium.org/2779453002/diff/1/components/payments/content/payment_request_state_unittest.cc File components/payments/content/payment_request_state_unittest.cc (right): https://codereview.chromium.org/2779453002/diff/1/components/payments/content/payment_request_state_unittest.cc#newcode324 components/payments/content/payment_request_state_unittest.cc:324: EXPECT_EQ(kBasicCardMethodName, response()->method_name); Let's use "basic-card" here, similar to line ...
3 years, 9 months ago (2017-03-25 17:07:33 UTC) #3
please use gerrit instead
lgtm
3 years, 9 months ago (2017-03-25 17:07:39 UTC) #4
Mathieu
Done https://codereview.chromium.org/2779453002/diff/1/components/payments/content/payment_request_state_unittest.cc File components/payments/content/payment_request_state_unittest.cc (right): https://codereview.chromium.org/2779453002/diff/1/components/payments/content/payment_request_state_unittest.cc#newcode324 components/payments/content/payment_request_state_unittest.cc:324: EXPECT_EQ(kBasicCardMethodName, response()->method_name); On 2017/03/25 17:07:33, ಠ_ಠ slow - ...
3 years, 9 months ago (2017-03-25 20:27:25 UTC) #5
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/2779453002/20001
3 years, 9 months ago (2017-03-25 20:27:44 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/391679)
3 years, 9 months ago (2017-03-25 20:56:29 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/2779453002/40001
3 years, 9 months ago (2017-03-26 00:31:24 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/336081)
3 years, 9 months ago (2017-03-26 01:35:24 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/2779453002/40001
3 years, 9 months ago (2017-03-26 01:43:24 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-26 03:48:49 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/600bab5603e925b489b69a83d3d4...

Powered by Google App Engine
This is Rietveld 408576698