This source file includes following definitions.
- Parse
- IsAvailableToContext
- IsAvailableToManifest
#include "extensions/common/features/simple_feature_filter.h"
#include "extensions/common/features/simple_feature.h"
namespace extensions {
SimpleFeatureFilter::SimpleFeatureFilter(SimpleFeature* feature)
: feature_(feature) {}
SimpleFeatureFilter::~SimpleFeatureFilter() {}
std::string SimpleFeatureFilter::Parse(const base::DictionaryValue* value) {
return std::string();
}
Feature::Availability SimpleFeatureFilter::IsAvailableToContext(
const Extension* extension,
Feature::Context context,
const GURL& url,
Feature::Platform platform) const {
return Feature::CreateAvailability(Feature::IS_AVAILABLE, std::string());
}
Feature::Availability SimpleFeatureFilter::IsAvailableToManifest(
const std::string& extension_id,
Manifest::Type type,
Feature::Location location,
int manifest_version,
Feature::Platform platform) const {
return Feature::CreateAvailability(Feature::IS_AVAILABLE, std::string());
}
}