#include "extensions/common/features/complex_feature.h"
#include "extensions/common/mojom/context_type.mojom.h"
namespace extensions {
ComplexFeature::ComplexFeature(std::vector<Feature*>* features) { … }
ComplexFeature::~ComplexFeature() = default;
Feature::Availability ComplexFeature::IsAvailableToManifest(
const HashedExtensionId& hashed_id,
Manifest::Type type,
mojom::ManifestLocation location,
int manifest_version,
Platform platform,
int context_id) const { … }
Feature::Availability ComplexFeature::IsAvailableToContextImpl(
const Extension* extension,
mojom::ContextType context,
const GURL& url,
Platform platform,
int context_id,
bool check_developer_mode,
const ContextData& context_data) const { … }
Feature::Availability ComplexFeature::IsAvailableToEnvironment(
int context_id) const { … }
bool ComplexFeature::IsIdInBlocklist(const HashedExtensionId& hashed_id) const { … }
bool ComplexFeature::IsIdInAllowlist(const HashedExtensionId& hashed_id) const { … }
bool ComplexFeature::IsInternal() const { … }
bool ComplexFeature::RequiresDelegatedAvailabilityCheck() const { … }
void ComplexFeature::SetDelegatedAvailabilityCheckHandler(
DelegatedAvailabilityCheckHandler handler) { … }
bool ComplexFeature::HasDelegatedAvailabilityCheckHandler() const { … }
}