DescriptionPaymentApp: Introduce PaymentAppDatabase class.
Write PaymentAppDatabase class and then just move most of logics to access
database from PaymentAppManager to the new class.
The class is providing APIs to read/write payment app related data(e.g. manifest
and associated service worker). It can be shared between payment_app_manager.cc
and payment_app_context.cc.
The payment_app_manager.cc contains a actual implementation of the
PaymentAppManager interface[1] used on the page or worker.
Also, the payment_app_context.cc can be used to query all manifests data.
in order to update payment request UI in Chrome layer.
[1] https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manager
BUG=661608
Committed: https://crrev.com/ab43057199ce68c2e9264fa98c9bd24cc1be4fd8
Cr-Commit-Position: refs/heads/master@{#439100}
Patch Set 1 #
Total comments: 2
Patch Set 2 : MakeUnique #Patch Set 3 : rebase #Patch Set 4 : rebase #
Total comments: 28
Patch Set 5 : PaymentApp: Introduce PaymentAppDatabase class. #
Total comments: 10
Patch Set 6 : rebase #Messages
Total messages: 23 (12 generated)
|