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

Issue 2575583003: PaymentApp: Add a interface to query all payment app manifests. (Closed)

Created:
4 years ago by zino
Modified:
4 years ago
CC:
chromium-reviews, jam, wjmaclean, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentApp: Add a interface to query all payment app manifests. This CL is adding GetAllManifests() to query all payment app manifests in Chrome layer. So, just rename existing PaymentAppContext in content/browser/payments to PaymentAppContextImpl and then add a new PaymentAppContext interface in content/public to expose some APIs to Chrome layer. This CL doesn't include actual impelementation now and it will be completed in follow-up CL. BUG=661608 Committed: https://crrev.com/745d987b499655bcbc62fa96207abe085bb503f6 Cr-Commit-Position: refs/heads/master@{#438569}

Patch Set 1 #

Total comments: 8

Patch Set 2 : PaymentApp: Add a interface to query all payment app manifests. #

Total comments: 2

Patch Set 3 : PaymentApp: Add a interface to query all payment app manifests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -176 lines) Patch
M content/browser/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
D content/browser/payments/payment_app_context.h View 1 chunk +0 lines, -64 lines 0 comments Download
D content/browser/payments/payment_app_context.cc View 1 chunk +0 lines, -69 lines 0 comments Download
A + content/browser/payments/payment_app_context_impl.h View 1 4 chunks +15 lines, -9 lines 0 comments Download
A + content/browser/payments/payment_app_context_impl.cc View 1 2 2 chunks +23 lines, -15 lines 0 comments Download
M content/browser/payments/payment_app_manager.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/payments/payment_app_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/payments/payment_app_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/storage_partition_impl.h View 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 3 chunks +4 lines, -4 lines 0 comments Download
A content/public/browser/payment_app_context.h View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
zino
PTAL
4 years ago (2016-12-14 16:20:25 UTC) #3
Avi (use Gerrit)
lgtm
4 years ago (2016-12-14 16:31:52 UTC) #5
please use gerrit instead
https://codereview.chromium.org/2575583003/diff/1/content/browser/payments/payment_app_context_impl.h File content/browser/payments/payment_app_context_impl.h (right): https://codereview.chromium.org/2575583003/diff/1/content/browser/payments/payment_app_context_impl.h#newcode24 content/browser/payments/payment_app_context_impl.h:24: public base::RefCountedThreadSafe<PaymentAppContextImpl> { The pure interface PaymentAppContext should be ...
4 years ago (2016-12-14 16:50:06 UTC) #7
zino
Thank you for review. https://codereview.chromium.org/2575583003/diff/1/content/browser/payments/payment_app_context_impl.h File content/browser/payments/payment_app_context_impl.h (right): https://codereview.chromium.org/2575583003/diff/1/content/browser/payments/payment_app_context_impl.h#newcode24 content/browser/payments/payment_app_context_impl.h:24: public base::RefCountedThreadSafe<PaymentAppContextImpl> { On 2016/12/14 ...
4 years ago (2016-12-14 17:20:19 UTC) #8
please use gerrit instead
lgtm % comment https://codereview.chromium.org/2575583003/diff/20001/content/browser/payments/payment_app_context_impl.cc File content/browser/payments/payment_app_context_impl.cc (right): https://codereview.chromium.org/2575583003/diff/20001/content/browser/payments/payment_app_context_impl.cc#newcode25 content/browser/payments/payment_app_context_impl.cc:25: DCHECK(services_.empty()); Put the destructor right after ...
4 years ago (2016-12-14 17:39:40 UTC) #9
zino
Thank you for review! https://codereview.chromium.org/2575583003/diff/20001/content/browser/payments/payment_app_context_impl.cc File content/browser/payments/payment_app_context_impl.cc (right): https://codereview.chromium.org/2575583003/diff/20001/content/browser/payments/payment_app_context_impl.cc#newcode25 content/browser/payments/payment_app_context_impl.cc:25: DCHECK(services_.empty()); On 2016/12/14 17:39:40, rouslan ...
4 years ago (2016-12-14 17:48:01 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/2575583003/40001
4 years ago (2016-12-14 17:48:31 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-14 19:07:32 UTC) #16
commit-bot: I haz the power
4 years ago (2016-12-14 19:11:01 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/745d987b499655bcbc62fa96207abe085bb503f6
Cr-Commit-Position: refs/heads/master@{#438569}

Powered by Google App Engine
This is Rietveld 408576698