#include "base/strings/stringprintf.h"
#include "chrome/browser/extensions/chrome_test_extension_loader.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "extensions/common/extension.h"
#include "extensions/test/result_catcher.h"
#include "extensions/test/test_extension_dir.h"
#include "net/dns/mock_host_resolver.h"
namespace extensions {
ExtensionCspApiTest;
IN_PROC_BROWSER_TEST_F(ExtensionCspApiTest, ContentSecurityPolicy) { … }
IN_PROC_BROWSER_TEST_F(ExtensionCspApiTest, DefaultContentSecurityPolicy) { … }
IN_PROC_BROWSER_TEST_F(ExtensionCspApiTest,
ManifestV3AllowsLocalhostInPagesForUnpackedExtensions) { … }
IN_PROC_BROWSER_TEST_F(
ExtensionCspApiTest,
ManifestV3AllowsLocalhostInServiceWorkersForUnpackedExtensions) { … }
IN_PROC_BROWSER_TEST_F(ExtensionCspApiTest,
ManifestV3DisallowsLocalhostForPackedExtensions) { … }
}