Index: extensions/common/extensions_client.h |
diff --git a/extensions/common/extensions_client.h b/extensions/common/extensions_client.h |
index eb3ebfee3f8a15589b0ac0cfae15e9bbe9bf8c98..e7370b02ecb57b6f2ab57a62b320b81c94ecf77a 100644 |
--- a/extensions/common/extensions_client.h |
+++ b/extensions/common/extensions_client.h |
@@ -19,6 +19,11 @@ class URLPatternSet; |
// process. This should be implemented by the client of the extensions system. |
class ExtensionsClient { |
public: |
+ // Initializes global state. Not done in the constructor because unit tests |
+ // can create additional ExtensionsClients because the utility thread runs |
+ // in-process. |
+ virtual void Initialize() = 0; |
+ |
// Returns a PermissionsProvider to initialize the permissions system. |
virtual const PermissionsProvider& GetPermissionsProvider() const = 0; |
@@ -26,9 +31,6 @@ class ExtensionsClient { |
virtual FeatureProvider* GetFeatureProviderByName(const std::string& name) |
const = 0; |
- // Called at startup. Registers the handlers for parsing manifests. |
- virtual void RegisterManifestHandlers() 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|. |