blob: 74697fc766a6596fde717da901cfb1a5bb7f38c0 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PAYMENTS_PAYMENT_CREDENTIAL_FACTORY_H_
#define CHROME_BROWSER_PAYMENTS_PAYMENT_CREDENTIAL_FACTORY_H_
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "third_party/blink/public/mojom/payments/payment_credential.mojom-forward.h"
namespace content {
class RenderFrameHost;
}
namespace payments {
// Connect a PaymentCredential receiver to handle payment credential creation.
void CreatePaymentCredential(
content::RenderFrameHost* render_frame_host,
mojo::PendingReceiver<mojom::PaymentCredential> receiver);
} // namespace payments
#endif // CHROME_BROWSER_PAYMENTS_PAYMENT_CREDENTIAL_FACTORY_H_