Index: extensions/browser/extension_registry.h |
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h |
index d8df24b3653d51b30a7b5996ae96579442d832a9..5d1650d3e9631d5a206dc2823a41f21f993a8160 100644 |
--- a/extensions/browser/extension_registry.h |
+++ b/extensions/browser/extension_registry.h |
@@ -74,6 +74,11 @@ class ExtensionRegistry : public KeyedService { |
void TriggerOnUnloaded(const Extension* extension, |
UnloadedExtensionInfo::Reason reason); |
+ // Invokes the observer method OnExtensionInstalled(). The extension must not |
+ // be installed at the time of the call. |
+ void TriggerOnInstalled(const Extension* extension, |
+ InstalledExtensionInfo info); |
+ |
not at google - send to devlin
2014/05/14 18:17:50
you might as well add the Uninstalled observer her
limasdf
2014/05/16 01:02:35
Yep, That's my plan. Can I do it from seperate CL?
not at google - send to devlin
2014/05/16 13:49:03
Sure.
|
// Find an extension by ID using |include_mask| to pick the sets to search: |
// * enabled_extensions() --> ExtensionRegistry::ENABLED |
// * disabled_extensions() --> ExtensionRegistry::DISABLED |