#include "base/memory/raw_ptr.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "base/command_line.h"
#include "base/test/scoped_feature_list.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_base.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_content_browser_client.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/content_mock_cert_verifier.h"
#include "content/shell/browser/shell.h"
#include "content/test/content_browser_test_utils_internal.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace content {
namespace {
class MockContentBrowserClient : public ContentBrowserTestContentBrowserClient { … };
}
class OriginAgentClusterBrowserTest : public ContentBrowserTest { … };
class OriginAgentClusterEnabledBrowserTest
: public OriginAgentClusterBrowserTest { … };
class OriginAgentClusterWarningBrowserTest
: public OriginAgentClusterBrowserTest { … };
class OriginAgentClusterInsecureEnabledBrowserTest
: public OriginAgentClusterBrowserTest { … };
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, DocumentDomain_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, DocumentDomain_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, DocumentDomain_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest,
DocumentDomain_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
DocumentDomain_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
DocumentDomain_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
DocumentDomain_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
DocumentDomain_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, SameProcess_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, SameProcess_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, SameProcess_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, SameProcess_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
SameProcess_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
SameProcess_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
SameProcess_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
SameProcess_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, WarningMessage_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, WarningMessage_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest, WarningMessage_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterBrowserTest,
WarningMessage_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
WarningMessage_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
WarningMessage_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
WarningMessage_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
WarningMessage_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterWarningBrowserTest,
WarningMessage_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterWarningBrowserTest,
WarningMessage_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterWarningBrowserTest,
WarningMessage_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterWarningBrowserTest,
WarningMessage_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetTrue_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetFalse_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetTrue_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetFalse_Enabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetTrue_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetFalse_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetTrue_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
Policy_SetFalse_Malformed) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterEnabledBrowserTest,
DefaultIsolationStateEnterprisePolicyTest) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterInsecureEnabledBrowserTest,
DocumentDomain_Default) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterInsecureEnabledBrowserTest,
DocumentDomain_Disabled) { … }
IN_PROC_BROWSER_TEST_F(OriginAgentClusterInsecureEnabledBrowserTest,
DocumentDomain_Malformed) { … }
}