Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: extensions/browser/extension_system.h

Issue 317993003: Send an onInstalled event for shared module update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.cc ('k') | extensions/common/api/runtime.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_system.h
diff --git a/extensions/browser/extension_system.h b/extensions/browser/extension_system.h
index e658138c55f384289679e48daf3123112f8c05b4..baa8b5d998582e4a5008365f27e2cea890380b4a 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<ExtensionSet> GetDependentExtensions(
+ const Extension* extension) = 0;
};
} // namespace extensions
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.cc ('k') | extensions/common/api/runtime.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698