summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 07:01:25 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 07:01:25 +0000
commit631cf822bd6e64cf469544b42c9975f5602c29a6 (patch)
treeb6038ba798fe06b216931a051c3167bd3b30c02b /chrome/common
parente9a4513ccdb40e341a699285d174b60f20736966 (diff)
downloadchromium_src-631cf822bd6e64cf469544b42c9975f5602c29a6.zip
chromium_src-631cf822bd6e64cf469544b42c9975f5602c29a6.tar.gz
chromium_src-631cf822bd6e64cf469544b42c9975f5602c29a6.tar.bz2
Add ExtensionsService::Uninstall() plus unit tests.
Haven't hooked this up to anything yet though. Still trying to figure out the best way to shut everything down, so I figured I'd send this easy part out alone. Review URL: http://codereview.chromium.org/113376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/notification_type.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index 98f0259..340f5d1 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -550,12 +550,19 @@ class NotificationType {
// Sent when new extensions are loaded. The details are an ExtensionList*.
EXTENSIONS_LOADED,
- // Sent when a new theme is installed. The details are an extension.
+ // Sent when a new theme is installed. The details are an Extension.
THEME_INSTALLED,
// Sent when new extensions are installed. The details are a FilePath.
EXTENSION_INSTALLED,
+ // Sent when an extension is unloaded. This happens when an extension is
+ // uninstalled. When we add a disable feature, it will also happen then.
+ // The details are an Extension. Note that when this notification is sent,
+ // ExtensionsService has already removed the extension from its internal
+ // state.
+ EXTENSION_UNLOADED,
+
// Debugging ---------------------------------------------------------------
// Sent from ~RenderViewHost. The source is the RenderViewHost.