Chromium Code Reviews| 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 0d467c03169d7cd2ecebccd7e75d7a1b7b1f5d82..5809b5ab0fb651a72f9267e5f85d782ecfe476dd 100644 |
| --- a/chrome/common/extensions/features/base_feature_provider.h |
| +++ b/chrome/common/extensions/features/base_feature_provider.h |
| @@ -6,8 +6,8 @@ |
| #define CHROME_COMMON_EXTENSIONS_FEATURES_BASE_FEATURE_PROVIDER_H_ |
| #include <map> |
| -#include <set> |
| #include <string> |
| +#include <vector> |
| #include "base/memory/linked_ptr.h" |
| #include "base/values.h" |
| @@ -36,12 +36,14 @@ class BaseFeatureProvider : public FeatureProvider { |
| // Gets the feature |feature_name|, if it exists. |
| virtual Feature* GetFeature(const std::string& feature_name) OVERRIDE; |
| - virtual std::set<std::string> GetAllFeatureNames() OVERRIDE; |
| + virtual std::vector<std::string> GetAllFeatureNames() OVERRIDE; |
|
not at google - send to devlin
2013/05/24 19:09:18
needs to be const& or it'll still be copied.
cduvall
2013/05/30 00:50:51
Done.
|
| private: |
| typedef std::map<std::string, linked_ptr<Feature> > FeatureMap; |
| FeatureMap features_; |
| + std::vector<std::string> feature_names_; |
| + |
| FeatureFactory factory_; |
| }; |