#ifndef CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_VIEW_FACTORY_H_
#define CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_VIEW_FACTORY_H_
#include "base/functional/callback_forward.h"
#include "base/memory/weak_ptr.h"
namespace content {
class WebContents;
}
namespace autofill {
class AutofillErrorDialogController;
class AutofillErrorDialogView;
class AutofillProgressDialogController;
class AutofillProgressDialogView;
class CardUnmaskAuthenticationSelectionDialogController;
class CardUnmaskAuthenticationSelectionDialog;
class CardUnmaskOtpInputDialogController;
class CardUnmaskOtpInputDialogView;
namespace payments {
class PaymentsWindowUserConsentDialogController;
class PaymentsWindowUserConsentDialog;
}
base::WeakPtr<AutofillProgressDialogView> CreateAndShowProgressDialog(
base::WeakPtr<AutofillProgressDialogController> controller,
content::WebContents* web_contents);
base::WeakPtr<AutofillErrorDialogView> CreateAndShowAutofillErrorDialog(
AutofillErrorDialogController* controller,
content::WebContents* web_contents);
CardUnmaskAuthenticationSelectionDialog*
CreateAndShowCardUnmaskAuthenticationSelectionDialog(
content::WebContents* web_contents,
CardUnmaskAuthenticationSelectionDialogController* controller);
base::WeakPtr<CardUnmaskOtpInputDialogView> CreateAndShowOtpInputDialog(
base::WeakPtr<CardUnmaskOtpInputDialogController> controller,
content::WebContents* web_contents);
base::WeakPtr<payments::PaymentsWindowUserConsentDialog>
CreateAndShowPaymentsWindowUserConsentDialog(
base::WeakPtr<payments::PaymentsWindowUserConsentDialogController>
controller,
content::WebContents* web_contents,
base::OnceClosure accept_callback,
base::OnceClosure cancel_callback);
}
#endif