Index: chrome/browser/extensions/extension_service.h |
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
index a81a5f95b773887f337f644db06d2a6a78d3c3ec..73265048a855a0e2a96e62529fb896e6612e6715 100644 |
--- a/chrome/browser/extensions/extension_service.h |
+++ b/chrome/browser/extensions/extension_service.h |
@@ -424,6 +424,21 @@ class ExtensionService |
// Launch an extension the next time it is loaded. |
void ScheduleLaunchOnLoad(const std::string& extension_id); |
+ // Checks an extension's shared module imports to see if they are satisfied. |
+ // If they are not, this function disables the extension, and optionally adds |
+ // the dependencies to the pending install list. |
+ bool CheckImports(const extensions::Extension* extension); |
+ |
+ // Checks all extensions for missing imports and syncs them as needed. Also |
+ // sets the enable/disable state for extensions based on whether all of their |
+ // imports are present. |
+ void CheckImportsOnAllExtensions(); |
+ |
+ // Checks an extension's shared module imports to see if they would still be |
+ // referenced by other extensions when a particular extension is uninstalled. |
+ // Uninstalls shared modules that are no longer referenced. |
+ void PruneSharedModulesOnUninstall(const extensions::Extension* extension); |
+ |
// Informs the service that an extension's files are in place for loading. |
// |
// Please make sure the Blacklist is checked some time before calling this |