chromium/chrome/test/payments/payment_app_install_util.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/test/payments/payment_app_install_util.h"

#include <utility>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "content/public/browser/payment_app_provider.h"
#include "content/public/browser/supported_delegations.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace payments {
namespace {

void OnInstallPaymentApp(base::OnceClosure finished,
                         bool* success_out,
                         bool success) {}

}  // namespace

// static
std::string PaymentAppInstallUtil::InstallPaymentApp(
    content::WebContents& web_contents,
    net::EmbeddedTestServer& test_server,
    const std::string& hostname,
    const std::string& service_worker_file_path,
    IconInstall icon_install) {}

// static
bool PaymentAppInstallUtil::InstallPaymentAppForPaymentMethodIdentifier(
    content::WebContents& web_contents,
    const GURL& service_worker_javascript_file_url,
    const std::string& payment_method_identifier,
    IconInstall icon_install) {}

}  // namespace payments