#include "chrome/browser/ui/passwords/credential_leak_dialog_controller_impl.h"
#include "chrome/browser/ui/passwords/password_dialog_prompts.h"
#include "chrome/browser/ui/passwords/passwords_leak_dialog_delegate.h"
#include "components/password_manager/core/browser/leak_detection_dialog_utils.h"
#include "components/password_manager/core/browser/password_manager_metrics_util.h"
CreateDialogTraits;
CredentialLeakType;
LeakDialogDismissalReason;
LeakDialogMetricsRecorder;
CredentialLeakDialogControllerImpl::CredentialLeakDialogControllerImpl(
PasswordsLeakDialogDelegate* delegate,
CredentialLeakType leak_type,
const GURL& url,
const std::u16string& username,
std::unique_ptr<LeakDialogMetricsRecorder> metrics_recorder)
: … { … }
CredentialLeakDialogControllerImpl::~CredentialLeakDialogControllerImpl() { … }
void CredentialLeakDialogControllerImpl::ShowCredentialLeakPrompt(
CredentialLeakPrompt* dialog) { … }
bool CredentialLeakDialogControllerImpl::IsShowingAccountChooser() const { … }
void CredentialLeakDialogControllerImpl::OnCancelDialog() { … }
void CredentialLeakDialogControllerImpl::OnAcceptDialog() { … }
void CredentialLeakDialogControllerImpl::OnCloseDialog() { … }
void CredentialLeakDialogControllerImpl::ResetDialog() { … }
std::u16string CredentialLeakDialogControllerImpl::GetAcceptButtonLabel()
const { … }
std::u16string CredentialLeakDialogControllerImpl::GetCancelButtonLabel()
const { … }
std::u16string CredentialLeakDialogControllerImpl::GetDescription() const { … }
std::u16string CredentialLeakDialogControllerImpl::GetTitle() const { … }
bool CredentialLeakDialogControllerImpl::ShouldCheckPasswords() const { … }
bool CredentialLeakDialogControllerImpl::ShouldShowCancelButton() const { … }