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 8a211c909f2a9ca6ae15ad3d490a69bbb9d9e7ec..56942d5a303fe133643ee3cd0f51417010005e13 100644 |
--- a/chrome/common/extensions/features/feature_provider.h |
+++ b/chrome/common/extensions/features/feature_provider.h |
@@ -20,8 +20,11 @@ class FeatureProvider { |
// Returns the feature with the specified name. |
virtual Feature* GetFeature(const std::string& name) = 0; |
+ // Returns the parent feature of |feature|, or NULL if there isn't one. |
+ virtual Feature* GetParent(Feature* feature) = 0; |
+ |
// Returns all features described by this instance. |
- virtual std::set<std::string> GetAllFeatureNames() = 0; |
+ virtual const std::vector<std::string>& GetAllFeatureNames() = 0; |
}; |
} // namespace extensions |