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

Issue 2850203002: PaymentHandler: Implement PaymentInstruments.keys(). (Closed)

Created:
3 years, 7 months ago by zino
Modified:
3 years, 7 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, kinuko+watch, jsbell+serviceworker_chromium.org, tzik, jam, abarth-chromium, darin-cc_chromium.org, blink-reviews, gogerald+paymentswatch_chromium.org, blink-worker-reviews_chromium.org, nhiroki, rouslan+payments_chromium.org, haraken, michaeln, shimazu+serviceworker_chromium.org, serviceworker-reviews, Aaron Boodman, kinuko+serviceworker, mahmadi+paymentswatch_chromium.org, horo+watch_chromium.org, darin (slow to review), sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentHandler: Implement PaymentInstruments.keys(). The method to return keys of the stored payment instruments in insertion order. Related Spec Link: https://w3c.github.io/webpayments-payment-handler/#paymentinstruments-interface BUG=661608 TEST=payment_manager_unittest.cc, payment-instruments.html Review-Url: https://codereview.chromium.org/2850203002 Cr-Commit-Position: refs/heads/master@{#468747} Committed: https://chromium.googlesource.com/chromium/src/+/09c61ecc5adf140aa7a59aef0ecacc510e0be1d8

Patch Set 1 #

Patch Set 2 : PaymentHandler: Implement PaymentInstruments.Keys(). #

Total comments: 4

Patch Set 3 : PaymentHandler: Implement PaymentInstruments.Keys(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -33 lines) Patch
M components/payments/mojom/payment_app.mojom View 1 chunk +6 lines, -4 lines 0 comments Download
M content/browser/payments/payment_app.proto View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_database.h View 3 chunks +14 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_database.cc View 1 7 chunks +88 lines, -7 lines 0 comments Download
M content/browser/payments/payment_manager.h View 1 chunk +7 lines, -5 lines 0 comments Download
M content/browser/payments/payment_manager.cc View 1 chunk +18 lines, -10 lines 0 comments Download
M content/browser/payments/payment_manager_unittest.cc View 1 2 3 chunks +47 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_database.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_database.cc View 1 chunk +44 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.h View 1 2 chunks +12 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 2 chunks +48 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/payments/payment-instruments.html View 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstruments.h View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp View 2 chunks +24 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstruments.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
zino
PTAL rouslan@ for payments Tom Sepez@ for mojom nhiroki@ for service worker Thank you.
3 years, 7 months ago (2017-05-01 17:41:14 UTC) #5
Tom Sepez
https://codereview.chromium.org/2850203002/diff/20001/content/browser/payments/payment_manager_unittest.cc File content/browser/payments/payment_manager_unittest.cc (right): https://codereview.chromium.org/2850203002/diff/20001/content/browser/payments/payment_manager_unittest.cc#newcode265 content/browser/payments/payment_manager_unittest.cc:265: TEST_F(PaymentManagerTest, KeysOfPaymentInstruments) { Maybe also test sending back an ...
3 years, 7 months ago (2017-05-01 17:49:33 UTC) #6
please use gerrit instead
payments lgtm % Tom's comment.
3 years, 7 months ago (2017-05-01 18:18:42 UTC) #7
nhiroki
service worker lgtm https://codereview.chromium.org/2850203002/diff/20001/content/browser/service_worker/service_worker_database.h File content/browser/service_worker/service_worker_database.h (right): https://codereview.chromium.org/2850203002/diff/20001/content/browser/service_worker/service_worker_database.h#newcode202 content/browser/service_worker/service_worker_database.h:202: // Returns OK only if all ...
3 years, 7 months ago (2017-05-02 01:21:12 UTC) #8
zino
Thank you for review. Tom Sepez@ PTAL https://codereview.chromium.org/2850203002/diff/20001/content/browser/payments/payment_manager_unittest.cc File content/browser/payments/payment_manager_unittest.cc (right): https://codereview.chromium.org/2850203002/diff/20001/content/browser/payments/payment_manager_unittest.cc#newcode265 content/browser/payments/payment_manager_unittest.cc:265: TEST_F(PaymentManagerTest, KeysOfPaymentInstruments) ...
3 years, 7 months ago (2017-05-02 15:03:58 UTC) #9
Tom Sepez
lgtm
3 years, 7 months ago (2017-05-02 16:11:58 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/2850203002/40001
3 years, 7 months ago (2017-05-02 18:00:56 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/09c61ecc5adf140aa7a59aef0ecacc510e0be1d8
3 years, 7 months ago (2017-05-02 19:45:11 UTC) #16
findit-for-me
Findit (https://goo.gl/kROfz5) identified this CL at revision 468747 as the culprit for failures in the ...
3 years, 7 months ago (2017-05-02 20:43:15 UTC) #17
adithyas
3 years, 7 months ago (2017-05-02 21:19:35 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2858773002/ by adithyas@chromium.org.

The reason for reverting is: This patch is causing some PaymentManager tests to
fail..

Powered by Google App Engine
This is Rietveld 408576698