Index: extensions/browser/extension_system.h |
diff --git a/extensions/browser/extension_system.h b/extensions/browser/extension_system.h |
index e658138c55f384289679e48daf3123112f8c05b4..0b7a34819bd9f57b99bbc5821150567457c20319 100644 |
--- a/extensions/browser/extension_system.h |
+++ b/extensions/browser/extension_system.h |
@@ -30,6 +30,7 @@ class ContentVerifier; |
class ErrorConsole; |
class EventRouter; |
class Extension; |
+class ExtensionSet; |
class ExtensionWarningService; |
class InfoMap; |
class InstallVerifier; |
@@ -128,6 +129,12 @@ class ExtensionSystem : public KeyedService { |
// Returns the content verifier, if any. |
virtual ContentVerifier* content_verifier() = 0; |
+ |
+ // Get a set of extensions that depend on the given extension. |
+ // TODO(elijahtaylor): Move SharedModuleService out of chrome/browser |
+ // so it can be retrieved from ExtensionSystem directly. |
+ virtual scoped_ptr<const ExtensionSet> GetDependentExtensions( |
asargent_no_longer_on_chrome
2014/06/09 18:49:29
nit: it looks like ExtensionSet already only holds
elijahtaylor1
2014/06/09 20:48:34
Done.
|
+ const Extension* extension) = 0; |
}; |
} // namespace extensions |