// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ #define CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_ #include "base/functional/callback_forward.h" #include "content/common/content_export.h" #include "third_party/blink/public/mojom/payments/payment_app.mojom.h" class SkBitmap; namespace url { class Origin; } // namespace url namespace content { class WebContents; struct SupportedDelegations; // This is providing the service worker based payment app related APIs to // Chrome layer. This class is a singleton, the instance of which can be // retrieved using the static GetInstance() method. // All methods must be called on the UI thread. // // Design Doc: // https://docs.google.com/document/d/1rWsvKQAwIboN2ZDuYYAkfce8GF27twi4UHTt0hcbyxQ/edit?usp=sharing class CONTENT_EXPORT PaymentAppProvider { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_PROVIDER_H_