chromium/chrome/browser/ui/autofill/payments/webauthn_dialog_controller_impl.h

// 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.

#ifndef CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_WEBAUTHN_DIALOG_CONTROLLER_IMPL_H_
#define CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_WEBAUTHN_DIALOG_CONTROLLER_IMPL_H_

#include "base/memory/raw_ptr.h"
#include "chrome/browser/ui/autofill/payments/webauthn_dialog_controller.h"
#include "components/autofill/core/browser/payments/payments_autofill_client.h"
#include "content/public/browser/page_user_data.h"

namespace autofill {

class WebauthnDialogModel;
class WebauthnDialog;
enum class WebauthnDialogState;

// Implementation of the per-outermost primary page controller to control the
// WebauthnDialog. Lazily initialized when used.
class WebauthnDialogControllerImpl
    : public WebauthnDialogController,
      public content::PageUserData<WebauthnDialogControllerImpl> {};

}  // namespace autofill

#endif  // CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_WEBAUTHN_DIALOG_CONTROLLER_IMPL_H_