summaryrefslogtreecommitdiffstats
path: root/extensions/common/features/feature_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/features/feature_provider.cc')
-rw-r--r--extensions/common/features/feature_provider.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/common/features/feature_provider.cc b/extensions/common/features/feature_provider.cc
index 1923836..ba8794f7 100644
--- a/extensions/common/features/feature_provider.cc
+++ b/extensions/common/features/feature_provider.cc
@@ -34,6 +34,8 @@ class Static {
make_linked_ptr(client->CreateFeatureProvider("manifest").release());
feature_providers_["permission"] =
make_linked_ptr(client->CreateFeatureProvider("permission").release());
+ feature_providers_["behavior"] =
+ make_linked_ptr(client->CreateFeatureProvider("behavior").release());
}
typedef std::map<std::string, linked_ptr<FeatureProvider> >
@@ -66,4 +68,8 @@ const FeatureProvider* FeatureProvider::GetPermissionFeatures() {
return GetByName("permission");
}
+const FeatureProvider* FeatureProvider::GetBehaviorFeatures() {
+ return GetByName("behavior");
+}
+
} // namespace extensions