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

Issue 2285523002: Add support for method selection in the Payment Request UI on iOS. (Closed)

Created:
4 years, 3 months ago by Justin Donnelly
Modified:
4 years, 3 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, estade+watch_chromium.org, vabr+watchlistautofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for method selection in the Payment Request UI on iOS. This includes: - Moving the mapping between autofill credit card types and types defined in the spec to components/autofill. - Adding the basic credit card response type from the spec. BUG=602666 Committed: https://crrev.com/c3d5660f6d497ea5dffc885f198cefdc7aabad83 Committed: https://crrev.com/03f43b39690971a4a2732d9c48bd962e2c0b145f Cr-Original-Commit-Position: refs/heads/master@{#415351} Cr-Commit-Position: refs/heads/master@{#416329}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Clear dictionaries before parsing. #

Total comments: 8

Patch Set 3 : Respond to comments. #

Total comments: 2

Patch Set 4 : Add curly braces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -90 lines) Patch
M chrome/browser/autofill/android/personal_data_manager_android.cc View 1 2 5 chunks +10 lines, -50 lines 0 comments Download
M components/autofill/core/browser/autofill_data_util.h View 1 2 3 chunks +18 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_data_util.cc View 1 2 3 2 chunks +34 lines, -0 lines 0 comments Download
M components/resources/autofill_scaled_resources.grdp View 1 chunk +16 lines, -13 lines 0 comments Download
M ios/web/payments/payment_request.cc View 1 2 5 chunks +106 lines, -5 lines 0 comments Download
M ios/web/payments/payment_request_unittest.cc View 1 2 3 chunks +87 lines, -15 lines 0 comments Download
M ios/web/public/payments/payment_request.h View 1 2 3 chunks +49 lines, -7 lines 0 comments Download

Messages

Total messages: 36 (20 generated)
Justin Donnelly
marq: please provide general review as relates to associated downstream CL eugenebut: for OWNERS review
4 years, 3 months ago (2016-08-25 22:33:09 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2285523002/diff/1/ios/web/payments/payment_request.cc File ios/web/payments/payment_request.cc (right): https://codereview.chromium.org/2285523002/diff/1/ios/web/payments/payment_request.cc#newcode68 ios/web/payments/payment_request.cc:68: DCHECK(value); Do you want to clear the dictionary ...
4 years, 3 months ago (2016-08-26 00:52:07 UTC) #7
Justin Donnelly
https://codereview.chromium.org/2285523002/diff/1/ios/web/payments/payment_request.cc File ios/web/payments/payment_request.cc (right): https://codereview.chromium.org/2285523002/diff/1/ios/web/payments/payment_request.cc#newcode68 ios/web/payments/payment_request.cc:68: DCHECK(value); On 2016/08/26 00:52:06, Eugene But wrote: > Do ...
4 years, 3 months ago (2016-08-29 19:53:00 UTC) #8
Justin Donnelly
+estade for c/b/autofill and components/autofill
4 years, 3 months ago (2016-08-29 20:04:47 UTC) #10
Evan Stade
https://codereview.chromium.org/2285523002/diff/20001/components/autofill/core/browser/autofill_data_util.cc File components/autofill/core/browser/autofill_data_util.cc (right): https://codereview.chromium.org/2285523002/diff/20001/components/autofill/core/browser/autofill_data_util.cc#newcode391 components/autofill/core/browser/autofill_data_util.cc:391: return kPaymentRequestData[0]; seems fairly fragile that you're depending on ...
4 years, 3 months ago (2016-08-29 20:34:06 UTC) #11
Justin Donnelly
https://codereview.chromium.org/2285523002/diff/20001/components/autofill/core/browser/autofill_data_util.cc File components/autofill/core/browser/autofill_data_util.cc (right): https://codereview.chromium.org/2285523002/diff/20001/components/autofill/core/browser/autofill_data_util.cc#newcode391 components/autofill/core/browser/autofill_data_util.cc:391: return kPaymentRequestData[0]; On 2016/08/29 20:34:05, Evan Stade wrote: > ...
4 years, 3 months ago (2016-08-30 15:21:25 UTC) #17
Evan Stade
lgtm https://codereview.chromium.org/2285523002/diff/60001/components/autofill/core/browser/autofill_data_util.cc File components/autofill/core/browser/autofill_data_util.cc (right): https://codereview.chromium.org/2285523002/diff/60001/components/autofill/core/browser/autofill_data_util.cc#newcode413 components/autofill/core/browser/autofill_data_util.cc:413: kPaymentRequestData[i].basic_card_payment_type) nit: curlies (side note: this file isn't ...
4 years, 3 months ago (2016-08-30 16:06:18 UTC) #20
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/2285523002/80001
4 years, 3 months ago (2016-08-30 17:10:57 UTC) #23
Justin Donnelly
https://codereview.chromium.org/2285523002/diff/60001/components/autofill/core/browser/autofill_data_util.cc File components/autofill/core/browser/autofill_data_util.cc (right): https://codereview.chromium.org/2285523002/diff/60001/components/autofill/core/browser/autofill_data_util.cc#newcode413 components/autofill/core/browser/autofill_data_util.cc:413: kPaymentRequestData[i].basic_card_payment_type) On 2016/08/30 16:06:18, Evan Stade wrote: > nit: ...
4 years, 3 months ago (2016-08-30 17:29:17 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-08-30 18:02:40 UTC) #25
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c3d5660f6d497ea5dffc885f198cefdc7aabad83 Cr-Commit-Position: refs/heads/master@{#415351}
4 years, 3 months ago (2016-08-30 18:06:20 UTC) #27
mdjones
A revert of this CL (patchset #4 id:80001) has been created in https://codereview.chromium.org/2289263003/ by mdjones@chromium.org. ...
4 years, 3 months ago (2016-08-30 21:38:06 UTC) #28
Justin Donnelly
As discussed at http://crrev.com/2287513002, I don't believe this CL was the cause of the failure ...
4 years, 3 months ago (2016-09-02 19:20:23 UTC) #30
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/2285523002/80001
4 years, 3 months ago (2016-09-02 19:21:16 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-02 20:09:57 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 20:11:23 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/03f43b39690971a4a2732d9c48bd962e2c0b145f
Cr-Commit-Position: refs/heads/master@{#416329}

Powered by Google App Engine
This is Rietveld 408576698