| Index: content/browser/payments/payment_app_database.h
|
| diff --git a/content/browser/payments/payment_app_database.h b/content/browser/payments/payment_app_database.h
|
| index 001685034d7bb140a3a1953d63260395ea64e689..93c97f36efb1dde2de77bb302295fd6c21b99dcd 100644
|
| --- a/content/browser/payments/payment_app_database.h
|
| +++ b/content/browser/payments/payment_app_database.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/payments/mojom/payment_app.mojom.h"
|
| +#include "content/browser/payments/payment_instrument_icon_fetcher.h"
|
| #include "content/browser/service_worker/service_worker_context_wrapper.h"
|
| #include "content/browser/service_worker/service_worker_registration.h"
|
| #include "content/common/content_export.h"
|
| @@ -128,6 +129,14 @@ class CONTENT_EXPORT PaymentAppDatabase {
|
| void DidWritePaymentInstrument(WritePaymentInstrumentCallback callback,
|
| ServiceWorkerStatusCode status);
|
|
|
| + // PaymentInstrumentIconFetcherCallback.
|
| + void DidFetchedPaymentInstrumentIcon(
|
| + const std::string& instrument_key,
|
| + payments::mojom::PaymentInstrumentPtr instrument,
|
| + WritePaymentInstrumentCallback callback,
|
| + scoped_refptr<ServiceWorkerRegistration> registration,
|
| + const std::string& icon);
|
| +
|
| // ClearPaymentInstruments callbacks
|
| void DidFindRegistrationToClearPaymentInstruments(
|
| const GURL& scope,
|
| @@ -142,6 +151,7 @@ class CONTENT_EXPORT PaymentAppDatabase {
|
| void DidClearPaymentInstruments(ClearPaymentInstrumentsCallback callback,
|
| ServiceWorkerStatusCode status);
|
|
|
| + std::unique_ptr<PaymentInstrumentIconFetcher> instrument_icon_fetcher_;
|
| scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
|
| base::WeakPtrFactory<PaymentAppDatabase> weak_ptr_factory_;
|
|
|
|
|