#include "chrome/browser/content_settings/mixed_content_settings_tab_helper.h"
#include "base/command_line.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_content_setting_bubble_model_delegate.h"
#include "chrome/browser/ui/content_settings/content_setting_bubble_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/network_session_configurator/common/network_switches.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "content/public/test/prerender_test_util.h"
#include "content/public/test/test_navigation_observer.h"
#include "content/public/test/test_utils.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "url/gurl.h"
class MixedContentSettingsTabHelperBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(MixedContentSettingsTabHelperBrowserTest,
OpenerSharePageSetting) { … }
class MixedContentSettingsTabHelperPrerenderBrowserTest
: public MixedContentSettingsTabHelperBrowserTest { … };
IN_PROC_BROWSER_TEST_F(MixedContentSettingsTabHelperPrerenderBrowserTest,
KeepInsecureInPrerendering) { … }
IN_PROC_BROWSER_TEST_F(MixedContentSettingsTabHelperPrerenderBrowserTest,
DoNotAffectInsecureOfPrimaryPageInPrerendering) { … }
IN_PROC_BROWSER_TEST_F(MixedContentSettingsTabHelperPrerenderBrowserTest,
DoNotAffectSecureOfPrerenderingPage) { … }
class MixedContentSettingsTabHelperFencedFrameBrowserTest
: public MixedContentSettingsTabHelperBrowserTest { … };
IN_PROC_BROWSER_TEST_F(MixedContentSettingsTabHelperFencedFrameBrowserTest,
IgnoreInsecureContentInFencedFrame) { … }