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

Unified Diff: chrome/common/extensions/features/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: more comments and fixed tests 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/feature_provider.h
diff --git a/chrome/common/extensions/features/feature_provider.h b/chrome/common/extensions/features/feature_provider.h
index 8a211c909f2a9ca6ae15ad3d490a69bbb9d9e7ec..607cac4fbc30414dbae898a794716b871bde4bc3 100644
--- a/chrome/common/extensions/features/feature_provider.h
+++ b/chrome/common/extensions/features/feature_provider.h
@@ -21,7 +21,7 @@ class FeatureProvider {
virtual Feature* GetFeature(const std::string& name) = 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

Powered by Google App Engine
This is Rietveld 408576698