// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_FACILITATED_PAYMENTS_CONTENT_BROWSER_FACILITATED_PAYMENTS_API_CLIENT_FACTORY_H_
#define COMPONENTS_FACILITATED_PAYMENTS_CONTENT_BROWSER_FACILITATED_PAYMENTS_API_CLIENT_FACTORY_H_
#include "components/facilitated_payments/core/browser/facilitated_payments_api_client.h"
#include "content/public/browser/global_routing_id.h"
namespace payments::facilitated {
// Returns a one time use callback that can create a platform-specific instance
// of the API client. This function is defined in platform specific
// implementation source files, e.g., in
// `facilitated_payments_api_client_android.cc`.
FacilitatedPaymentsApiClientCreator GetFacilitatedPaymentsApiClientCreator(
content::GlobalRenderFrameHostId render_frame_host_id);
} // namespace payments::facilitated
#endif // COMPONENTS_FACILITATED_PAYMENTS_CONTENT_BROWSER_FACILITATED_PAYMENTS_API_CLIENT_FACTORY_H_