chromium/chrome/test/payments/payment_request_test_controller_desktop.cc

// Copyright 2019 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_request_test_controller.h"

#include "base/check.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/payments/payment_request_factory.h"
#include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.h"
#include "components/payments/content/android_app_communication.h"
#include "components/payments/content/payment_request.h"
#include "components/payments/content/payment_request_web_contents_manager.h"
#include "components/payments/content/payment_ui_observer.h"
#include "components/payments/core/payment_prefs.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "content/public/browser/global_routing_id.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "third_party/blink/public/mojom/webauthn/authenticator.mojom.h"

namespace payments {

class PaymentRequestTestController::ObserverConverter
    : public PaymentRequest::ObserverForTest,
      public PaymentUIObserver {};

PaymentRequestTestController::PaymentRequestTestController()
    :{}

PaymentRequestTestController::~PaymentRequestTestController() = default;

content::WebContents*
PaymentRequestTestController::GetPaymentHandlerWebContents() {}

bool PaymentRequestTestController::ConfirmPayment() {}

bool PaymentRequestTestController::ClickOptOut() {}

bool PaymentRequestTestController::ClickPaymentHandlerCloseButton() {}

bool PaymentRequestTestController::CloseDialog() {}

void PaymentRequestTestController::SetUpOnMainThread() {}

void PaymentRequestTestController::SetObserver(
    PaymentRequestTestObserver* observer) {}

void PaymentRequestTestController::SetOffTheRecord(bool is_off_the_record) {}

void PaymentRequestTestController::SetValidSsl(bool valid_ssl) {}

void PaymentRequestTestController::SetCanMakePaymentEnabledPref(
    bool can_make_payment_enabled) {}

void PaymentRequestTestController::SetTwaPackageName(
    const std::string& twa_package_name) {}

void PaymentRequestTestController::SetHasAuthenticator(bool has_authenticator) {}

void PaymentRequestTestController::SetTwaPaymentApp(
    const std::string& method_name,
    const std::string& response) {}

void PaymentRequestTestController::UpdateDelegateFactory() {}

void PaymentRequestTestController::OnCanMakePaymentCalled() {}

void PaymentRequestTestController::OnCanMakePaymentReturned() {}

void PaymentRequestTestController::OnHasEnrolledInstrumentCalled() {}

void PaymentRequestTestController::OnHasEnrolledInstrumentReturned() {}

void PaymentRequestTestController::OnAppListReady() {}

void PaymentRequestTestController::OnErrorDisplayed() {}

void PaymentRequestTestController::OnCompleteCalled() {}

void PaymentRequestTestController::OnUIDisplayed() {}

void PaymentRequestTestController::OnNotSupportedError() {}

void PaymentRequestTestController::OnConnectionTerminated() {}

void PaymentRequestTestController::OnAbortCalled() {}

}  // namespace payments