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

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

Issue 13997002: Load extensions features file separately when needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix merge conflicts Created 7 years, 8 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/feature_provider.h
diff --git a/chrome/common/extensions/features/feature_provider.h b/chrome/common/extensions/features/feature_provider.h
index 81e4611c4460ffbe599f1eef6b8f6ff404150a50..8a211c909f2a9ca6ae15ad3d490a69bbb9d9e7ec 100644
--- a/chrome/common/extensions/features/feature_provider.h
+++ b/chrome/common/extensions/features/feature_provider.h
@@ -19,6 +19,9 @@ class FeatureProvider {
// Returns the feature with the specified name.
virtual Feature* GetFeature(const std::string& name) = 0;
+
+ // Returns all features described by this instance.
+ virtual std::set<std::string> GetAllFeatureNames() = 0;
};
} // namespace extensions
« no previous file with comments | « chrome/common/extensions/features/base_feature_provider_unittest.cc ('k') | chrome/common/extensions/manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698