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

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

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: optimize and "parent" property Created 7 years, 7 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 0d467c03169d7cd2ecebccd7e75d7a1b7b1f5d82..8e442658238fe781e791bfa2f240b655770eed7c 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,7 +36,8 @@ 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;
+ virtual std::vector<std::string> GetAllTopLevelFeatureNames() OVERRIDE;
private:
typedef std::map<std::string, linked_ptr<Feature> > FeatureMap;

Powered by Google App Engine
This is Rietveld 408576698