#include "base/command_line.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/manifest_handlers/content_capabilities_handler.h"
#include "extensions/common/manifest_test.h"
#include "extensions/common/permissions/api_permission.h"
#include "extensions/common/permissions/extensions_api_permissions.h"
#include "extensions/common/permissions/permissions_info.h"
#include "extensions/common/switches.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
APIPermissionID;
namespace extensions {
class ContentCapabilitiesManifestTest : public ManifestTest { … };
TEST_F(ContentCapabilitiesManifestTest, AllowSubdomainWildcards) { … }
TEST_F(ContentCapabilitiesManifestTest, RejectedAllHosts) { … }
TEST_F(ContentCapabilitiesManifestTest, RejectedETLDWildcard) { … }
TEST_F(ContentCapabilitiesManifestTest, InvalidPermission) { … }
TEST_F(ContentCapabilitiesManifestTest, RejectNonHttpsUrlPatterns) { … }
TEST_F(ContentCapabilitiesManifestTest, Valid) { … }
}