#ifndef EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_
#define EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_
#include "extensions/common/features/simple_feature.h"
namespace extensions {
class PermissionFeature : public SimpleFeature {
public:
PermissionFeature();
virtual ~PermissionFeature();
virtual Feature::Availability IsAvailableToContext(
const Extension* extension,
Feature::Context context,
const GURL& url,
Feature::Platform platform) const OVERRIDE;
virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE;
};
}
#endif