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

Issue 2844673002: PaymentHandler: Implement PaymentInstruments.has(). (Closed)

Created:
3 years, 8 months ago by zino
Modified:
3 years, 7 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, gogerald+paymentswatch_chromium.org, Aaron Boodman, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, rouslan+payments_chromium.org, blink-reviews, darin-cc_chromium.org, mahmadi+paymentswatch_chromium.org, darin (slow to review), sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentHandler: Implement PaymentInstruments.has(). The method to check whether the payment instrument for the specified key is stored. 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/2844673002 Cr-Commit-Position: refs/heads/master@{#467701} Committed: https://chromium.googlesource.com/chromium/src/+/8f5656549a8eb15b9566d42b3d9abc6e4d422f77

Patch Set 1 #

Total comments: 3

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -10 lines) Patch
M components/payments/mojom/payment_app.mojom View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_database.h View 3 chunks +17 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_database.cc View 2 chunks +46 lines, -0 lines 0 comments Download
M content/browser/payments/payment_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/payments/payment_manager.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/payments/payment_manager_unittest.cc View 1 6 chunks +29 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/payments/payment-instruments.html View 1 chunk +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstruments.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp View 1 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: 13 (6 generated)
zino
PTAL
3 years, 8 months ago (2017-04-26 15:01:25 UTC) #3
please use gerrit instead
lgtm % comment https://codereview.chromium.org/2844673002/diff/1/content/browser/payments/payment_manager_unittest.cc File content/browser/payments/payment_manager_unittest.cc (right): https://codereview.chromium.org/2844673002/diff/1/content/browser/payments/payment_manager_unittest.cc#newcode244 content/browser/payments/payment_manager_unittest.cc:244: ASSERT_EQ(PaymentHandlerStatus::NOT_FOUND, write_status); Here and everywhere: There's ...
3 years, 8 months ago (2017-04-26 15:18:26 UTC) #4
Tom Sepez
https://codereview.chromium.org/2844673002/diff/1/components/payments/mojom/payment_app.mojom File components/payments/mojom/payment_app.mojom (right): https://codereview.chromium.org/2844673002/diff/1/components/payments/mojom/payment_app.mojom#newcode55 components/payments/mojom/payment_app.mojom:55: HasPaymentInstrument(string instrument_key) Isn't this a subset of the functionality ...
3 years, 8 months ago (2017-04-26 16:20:16 UTC) #5
zino
Thank you for review. https://codereview.chromium.org/2844673002/diff/1/components/payments/mojom/payment_app.mojom File components/payments/mojom/payment_app.mojom (right): https://codereview.chromium.org/2844673002/diff/1/components/payments/mojom/payment_app.mojom#newcode55 components/payments/mojom/payment_app.mojom:55: HasPaymentInstrument(string instrument_key) On 2017/04/26 16:20:15, ...
3 years, 8 months ago (2017-04-26 17:35:21 UTC) #6
Tom Sepez
lgtm
3 years, 8 months ago (2017-04-26 17:48:51 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/2844673002/20001
3 years, 7 months ago (2017-04-27 14:17:54 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 16:17:06 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8f5656549a8eb15b9566d42b3d9a...

Powered by Google App Engine
This is Rietveld 408576698