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

Issue 2775343002: PaymentHandler: Initial implementation for PaymentInstruments. (Closed)

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

Description

PaymentHandler: Initial implementation for PaymentInstruments. This CL only adds IDLs and empty implementations. This feature is behind runtime flag. Related spec: https://w3c.github.io/webpayments-payment-apps-api/#payment-instruments BUG=661608 Review-Url: https://codereview.chromium.org/2775343002 Cr-Commit-Position: refs/heads/master@{#460844} Committed: https://chromium.googlesource.com/chromium/src/+/c8e4d733fe61ac65f4c834d7fbe73a63dda1b2ed

Patch Set 1 #

Patch Set 2 : PaymentHandler: Initial implementation for PaymentInstruments. #

Total comments: 20

Patch Set 3 : PaymentHandler: Initial implementation for PaymentInstruments. #

Patch Set 4 : PaymentHandler: Initial implementation for PaymentInstruments. #

Total comments: 6

Patch Set 5 : addressed comments #

Patch Set 6 : rebase #

Patch Set 7 : PaymentHandler: Initial implementation for PaymentInstruments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/payments/PaymentInstrument.idl View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/payments/PaymentInstruments.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/payments/PaymentInstruments.idl View 1 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentManager.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentManager.cpp View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentManager.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
zino
PTAL.
3 years, 8 months ago (2017-03-28 16:19:37 UTC) #4
please use gerrit instead
https://codereview.chromium.org/2775343002/diff/20001/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl File third_party/WebKit/Source/modules/payments/PaymentAppManager.idl (right): https://codereview.chromium.org/2775343002/diff/20001/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl#newcode14 third_party/WebKit/Source/modules/payments/PaymentAppManager.idl:14: readonly attribute PaymentInstruments instruments; Can you put this into ...
3 years, 8 months ago (2017-03-28 16:33:30 UTC) #5
zino
Thank you for review. I addressed some your comments and I replied for some comments. ...
3 years, 8 months ago (2017-03-29 15:51:23 UTC) #6
please use gerrit instead
lgtm % comments https://codereview.chromium.org/2775343002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentInstruments.h File third_party/WebKit/Source/modules/payments/PaymentInstruments.h (right): https://codereview.chromium.org/2775343002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentInstruments.h#newcode25 third_party/WebKit/Source/modules/payments/PaymentInstruments.h:25: DECLARE_TRACE(); Appears to still be private. ...
3 years, 8 months ago (2017-03-29 21:30:16 UTC) #7
haraken
Implementation-wise LGTM https://codereview.chromium.org/2775343002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentInstruments.h File third_party/WebKit/Source/modules/payments/PaymentInstruments.h (right): https://codereview.chromium.org/2775343002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentInstruments.h#newcode20 third_party/WebKit/Source/modules/payments/PaymentInstruments.h:20: : public GarbageCollectedFinalized<PaymentInstruments>, "Finalized" wouldn't be needed.
3 years, 8 months ago (2017-03-30 00:00:46 UTC) #8
zino
I addressed your comments. Thank you for review. https://codereview.chromium.org/2775343002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentInstruments.h File third_party/WebKit/Source/modules/payments/PaymentInstruments.h (right): https://codereview.chromium.org/2775343002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentInstruments.h#newcode20 third_party/WebKit/Source/modules/payments/PaymentInstruments.h:20: : ...
3 years, 8 months ago (2017-03-30 00:12:53 UTC) #9
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/2775343002/100001
3 years, 8 months ago (2017-03-30 15:14:56 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/418366)
3 years, 8 months ago (2017-03-30 16:27: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/2775343002/120001
3 years, 8 months ago (2017-03-30 16:57:56 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 19:10:14 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/c8e4d733fe61ac65f4c834d7fbe7...

Powered by Google App Engine
This is Rietveld 408576698