Index: extensions/common/extensions_client.h |
diff --git a/extensions/common/extensions_client.h b/extensions/common/extensions_client.h |
index b897fb889e84c025053eacb83628950cf96fb397..f1c9a27efae6a1a083a6f7ebff0afa9b7ae8f009 100644 |
--- a/extensions/common/extensions_client.h |
+++ b/extensions/common/extensions_client.h |
@@ -57,12 +57,10 @@ class ExtensionsClient { |
virtual std::unique_ptr<FeatureProvider> CreateFeatureProvider( |
const std::string& name) const = 0; |
- // Create a JSONFeatureProviderSource for a specific feature type, |
- // e.g. "permission". Currently, all features are loaded from |
- // JSONFeatureProviderSources. |
- // This is used primarily in CreateFeatureProvider, above. |
- virtual std::unique_ptr<JSONFeatureProviderSource> |
- CreateFeatureProviderSource(const std::string& name) const = 0; |
+ // Returns the dictionary of the API features json file. |
+ // TODO(devlin): We should find a way to remove this. |
+ virtual std::unique_ptr<JSONFeatureProviderSource> CreateAPIFeatureSource() |
+ const = 0; |
// Takes the list of all hosts and filters out those with special |
// permission strings. Adds the regular hosts to |new_hosts|, |