#include "chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/tabs/tab_enums.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/password_manager/core/browser/password_manager_metrics_util.h"
#include "components/safe_browsing/content/browser/password_protection/password_protection_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "content/public/test/browser_test.h"
namespace safe_browsing {
class PasswordReuseModalWarningTest : public DialogBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PasswordReuseModalWarningTest, InvokeUi_default) { … }
IN_PROC_BROWSER_TEST_F(PasswordReuseModalWarningTest, TestBasicDialogBehavior) { … }
IN_PROC_BROWSER_TEST_F(PasswordReuseModalWarningTest,
CloseDialogWhenWebContentsDestroyed) { … }
}