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

Issue 2610163002: PaymentApp: Implement InvokePaymentApp() in browser side. (Closed)

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

Description

PaymentApp: Implement InvokePaymentApp() in content/browser side. This CL is implementing invokePaymentApp() in browser side. During this work, added FindRegistrationForIdOnly() method to service worker context wrapper and some codes to embedded worker test helper for testing event dispatching. BUG=661608 TEST=payment_app_provider_impl_unittest.cc Review-Url: https://codereview.chromium.org/2610163002 Cr-Commit-Position: refs/heads/master@{#444415} Committed: https://chromium.googlesource.com/chromium/src/+/2c684a8bef012e3f85338b72d154b3c68867c021

Patch Set 1 #

Patch Set 2 : Provider Impl #

Patch Set 3 : PaymentApp: Implement InvokePaymentApp() in content/browser side. #

Patch Set 4 : PaymentApp: Implement InvokePaymentApp() in content/browser side. #

Patch Set 5 : PaymentApp: Implement InvokePaymentApp() in content/browser side. #

Patch Set 6 : PaymentApp: Implement InvokePaymentApp() in content/browser side. #

Total comments: 30

Patch Set 7 : PaymentApp: Implement InvokePaymentApp() in content/browser side. #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Patch Set 10 : fix bot error #

Patch Set 11 : fix bot error #

Total comments: 1

Patch Set 12 : addressed rouslan's comment #

Total comments: 10

Patch Set 13 : nhiroki's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -14 lines) Patch
M content/browser/payments/payment_app_content_unittest_base.h View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/payments/payment_app_content_unittest_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +73 lines, -8 lines 0 comments Download
M content/browser/payments/payment_app_provider_impl.cc View 1 2 3 4 5 6 4 chunks +76 lines, -2 lines 0 comments Download
M content/browser/payments/payment_app_provider_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +42 lines, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 3 4 5 6 7 3 chunks +20 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (42 generated)
zino
rouslan@, tommyt@ for payments nhiroki@ for service worker PTAL (Happy belated new year!) https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_content_unittest_base.cc File ...
3 years, 11 months ago (2017-01-11 20:06:44 UTC) #12
nhiroki
Looks good overall from sw point of view. Added some minor comments. https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_provider_impl.cc File content/browser/payments/payment_app_provider_impl.cc ...
3 years, 11 months ago (2017-01-12 03:12:38 UTC) #15
tommyt
lgtm
3 years, 11 months ago (2017-01-12 12:53:24 UTC) #16
please use gerrit instead
https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_content_unittest_base.cc File content/browser/payments/payment_app_content_unittest_base.cc (right): https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_content_unittest_base.cc#newcode45 content/browser/payments/payment_app_content_unittest_base.cc:45: struct PaymentAppContentUnitTestBase::PaymentAppForWorkerTestHelper On 2017/01/11 20:06:43, zino wrote: > @rouslan, ...
3 years, 11 months ago (2017-01-12 19:04:00 UTC) #21
zino
nhiroki@, rouslan@ I addressed all your comments. Thank you for your review. PTAL https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_content_unittest_base.cc File ...
3 years, 11 months ago (2017-01-13 16:41:11 UTC) #24
zino
Gentle ping. Reviewers. https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_content_unittest_base.cc File content/browser/payments/payment_app_content_unittest_base.cc (right): https://codereview.chromium.org/2610163002/diff/140001/content/browser/payments/payment_app_content_unittest_base.cc#newcode45 content/browser/payments/payment_app_content_unittest_base.cc:45: struct PaymentAppContentUnitTestBase::PaymentAppForWorkerTestHelper On 2017/01/12 19:04:00, rouslan ...
3 years, 11 months ago (2017-01-16 15:01:09 UTC) #39
please use gerrit instead
lgtm % nit https://codereview.chromium.org/2610163002/diff/240001/content/browser/payments/payment_app_provider_impl_unittest.cc File content/browser/payments/payment_app_provider_impl_unittest.cc (right): https://codereview.chromium.org/2610163002/diff/240001/content/browser/payments/payment_app_provider_impl_unittest.cc#newcode137 content/browser/payments/payment_app_provider_impl_unittest.cc:137: ResetPaymentAppInvoked(); nit: This call is not ...
3 years, 11 months ago (2017-01-16 16:46:15 UTC) #40
nhiroki
LGTM with nits https://codereview.chromium.org/2610163002/diff/260001/content/browser/payments/payment_app_content_unittest_base.cc File content/browser/payments/payment_app_content_unittest_base.cc (right): https://codereview.chromium.org/2610163002/diff/260001/content/browser/payments/payment_app_content_unittest_base.cc#newcode51 content/browser/payments/payment_app_content_unittest_base.cc:51: last_sw_registration_id(-1) {} Can you replace -1 ...
3 years, 11 months ago (2017-01-18 03:47:39 UTC) #45
zino
Thank you for review. https://codereview.chromium.org/2610163002/diff/260001/content/browser/payments/payment_app_content_unittest_base.cc File content/browser/payments/payment_app_content_unittest_base.cc (right): https://codereview.chromium.org/2610163002/diff/260001/content/browser/payments/payment_app_content_unittest_base.cc#newcode51 content/browser/payments/payment_app_content_unittest_base.cc:51: last_sw_registration_id(-1) {} On 2017/01/18 03:47:39, ...
3 years, 11 months ago (2017-01-18 15:56:07 UTC) #46
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/2610163002/280001
3 years, 11 months ago (2017-01-18 15:56:26 UTC) #49
commit-bot: I haz the power
Committed patchset #13 (id:280001) as https://chromium.googlesource.com/chromium/src/+/2c684a8bef012e3f85338b72d154b3c68867c021
3 years, 11 months ago (2017-01-18 17:55:19 UTC) #52
Wez
3 years, 10 months ago (2017-02-07 22:32:38 UTC) #54
Message was sent while issue was closed.
Hallo jwd@chromium.org!
Due to a depot_tools patch which mistakenly removed the OWNERS check for
non-source files (see crbug.com/684270), the following files landed in this CL
and need a retrospective review from you:
	tools/metrics/histograms/histograms.xml
Thanks,
Wez

Powered by Google App Engine
This is Rietveld 408576698