| Index: extensions/common/extensions_client.h
|
| diff --git a/extensions/common/extensions_client.h b/extensions/common/extensions_client.h
|
| index b3e98929a3355ec727d473e303a40bf54601c5b1..f0bdc8c4caee61bc4427d08086ae1cca38307b2e 100644
|
| --- a/extensions/common/extensions_client.h
|
| +++ b/extensions/common/extensions_client.h
|
| @@ -19,6 +19,7 @@ namespace extensions {
|
| class APIPermissionSet;
|
| class Extension;
|
| class FeatureProvider;
|
| +class JSONFeatureProviderSource;
|
| class ManifestPermissionSet;
|
| class PermissionMessage;
|
| class PermissionMessageProvider;
|
| @@ -47,6 +48,13 @@ class ExtensionsClient {
|
| virtual scoped_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 scoped_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource(
|
| + const std::string& name) const = 0;
|
| +
|
| // Takes the list of all hosts and filters out those with special
|
| // permission strings. Adds the regular hosts to |new_hosts|,
|
| // and adds the special permission messages to |messages|.
|
|
|