Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4766)

Unified Diff: chrome/common/extensions/features/base_feature_provider.h

Issue 12846011: Implement API features for the Extension API feature system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed memory leak Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/features/base_feature_provider.h
diff --git a/chrome/common/extensions/features/base_feature_provider.h b/chrome/common/extensions/features/base_feature_provider.h
index 1e71b0d405249c56d0801f0ff1457a5c8354b9f4..5a68f6f25426c38b6fe14c43c1728b3dfffda0df 100644
--- a/chrome/common/extensions/features/base_feature_provider.h
+++ b/chrome/common/extensions/features/base_feature_provider.h
@@ -26,6 +26,10 @@ class BaseFeatureProvider : public FeatureProvider {
BaseFeatureProvider(const DictionaryValue& root, FeatureFactory factory);
virtual ~BaseFeatureProvider();
+ // Gets an instance for the _api_features.json file that is baked into
+ // Chrome as a resource.
+ static BaseFeatureProvider* GetApiFeatures();
+
// Gets an instance for the _manifest_features.json file that is baked into
// Chrome as a resource.
static BaseFeatureProvider* GetManifestFeatures();
« no previous file with comments | « chrome/common/extensions/features/api_feature.cc ('k') | chrome/common/extensions/features/base_feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698