#include "chrome/browser/devtools/global_confirm_info_bar.h"
#include <utility>
#include "base/command_line.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/infobars/core/infobar.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_utils.h"
namespace {
class TestConfirmInfoBarDelegate : public ConfirmInfoBarDelegate { … };
class GlobalConfirmInfoBarTest : public InProcessBrowserTest { … };
}
IN_PROC_BROWSER_TEST_F(GlobalConfirmInfoBarTest, UserInteraction) { … }
IN_PROC_BROWSER_TEST_F(GlobalConfirmInfoBarTest, CreateAndCloseInfobar) { … }
class NonDefaultTestConfirmInfoBarDelegate : public TestConfirmInfoBarDelegate { … };
IN_PROC_BROWSER_TEST_F(GlobalConfirmInfoBarTest,
VerifyInfobarNonDefaultProperties) { … }
class TestConfirmInfoBarDelegateWithLink : public TestConfirmInfoBarDelegate { … };
IN_PROC_BROWSER_TEST_F(GlobalConfirmInfoBarTest, ClickLink) { … }