#include "content/browser/payments/installed_payment_apps_finder_impl.h"
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/supports_user_data.h"
#include "content/browser/payments/payment_app_context_impl.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/permission_controller.h"
#include "content/public/browser/permission_result.h"
#include "third_party/blink/public/common/permissions/permission_utils.h"
#include "third_party/blink/public/mojom/permissions/permission_status.mojom.h"
namespace content {
namespace {
const char kInstalledPaymentAppsFinderImplName[] = …;
}
base::WeakPtr<InstalledPaymentAppsFinder>
InstalledPaymentAppsFinder::GetInstance(BrowserContext* context) { … }
base::WeakPtr<InstalledPaymentAppsFinderImpl>
InstalledPaymentAppsFinderImpl::GetInstance(BrowserContext* context) { … }
void InstalledPaymentAppsFinderImpl::GetAllPaymentApps(
GetAllPaymentAppsCallback callback) { … }
void InstalledPaymentAppsFinderImpl::CheckPermissionForPaymentApps(
GetAllPaymentAppsCallback callback,
PaymentApps apps) { … }
InstalledPaymentAppsFinderImpl::InstalledPaymentAppsFinderImpl(
BrowserContext* context)
: … { … }
InstalledPaymentAppsFinderImpl::~InstalledPaymentAppsFinderImpl() = default;
}