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

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

Issue 1772683002: FeatureProvider returns std::map instead of vector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 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
« no previous file with comments | « no previous file | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/base_feature_provider.h
diff --git a/extensions/common/features/base_feature_provider.h b/extensions/common/features/base_feature_provider.h
index 3b766c8001db2421c1ab355493dc506c5167521d..0d6129234c1e77e9d3e9de3f593de28a5abf8de5 100644
--- a/extensions/common/features/base_feature_provider.h
+++ b/extensions/common/features/base_feature_provider.h
@@ -35,7 +35,7 @@ class BaseFeatureProvider : public FeatureProvider {
Feature* GetParent(Feature* feature) const override;
std::vector<Feature*> GetChildren(const Feature& parent) const override;
- const std::vector<std::string>& GetAllFeatureNames() const override;
+ const FeatureMap& GetAllFeatures() const override;
private:
std::map<std::string, scoped_ptr<Feature>> features_;
« no previous file with comments | « no previous file | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698