chromium/chrome/browser/payments/payment_handler_install_failed_browsertest.cc

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

#include <string>

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/test/payments/payment_request_platform_browsertest_base.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace payments {
namespace {

class PaymentHandlerInstallFailedTest
    : public PaymentRequestPlatformBrowserTestBase {};

// When the service worker file is missing, the error message should mention
// that the payment handler install failed. The metrics should record a failed
// installation.
IN_PROC_BROWSER_TEST_F(PaymentHandlerInstallFailedTest, Test) {}

}  // namespace
}  // namespace payments