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

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: fix tests 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..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
« 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