#include "base/test/run_until.h"
#include "build/build_config.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/login/login_handler.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_navigation_observer.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
WebContentsModalDialogManager;
class RepostFormWarningTest : public DialogBrowserTest { … };
void RepostFormWarningTest::SetUpOnMainThread() { … }
void RepostFormWarningTest::ShowUi(const std::string& name) { … }
content::WebContents* RepostFormWarningTest::TryReload() { … }
IN_PROC_BROWSER_TEST_F(RepostFormWarningTest, TestDoubleReload) { … }
IN_PROC_BROWSER_TEST_F(RepostFormWarningTest, TestLoginAfterRepost) { … }
#if !BUILDFLAG(IS_MAC)
IN_PROC_BROWSER_TEST_F(RepostFormWarningTest, InvokeUi_TestRepostWarning) { … }
#endif