diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 19:45:20 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 19:45:20 +0000 |
commit | e0c2a30490d83d92ad73a2d0525cd76cf06addee (patch) | |
tree | cf81537a3466a12a3248ecddbbff25cd75a0d8f1 /chrome/common/extensions/extension.h | |
parent | b55a0a0069b756e27ddf72672dccc7571277ba66 (diff) | |
download | chromium_src-e0c2a30490d83d92ad73a2d0525cd76cf06addee.zip chromium_src-e0c2a30490d83d92ad73a2d0525cd76cf06addee.tar.gz chromium_src-e0c2a30490d83d92ad73a2d0525cd76cf06addee.tar.bz2 |
Changed EXTENSION_UNINSTALLED notification to happen after uninstallation.
The important part is that it comes after the EXTENSION_UNLOADED
notification is sent. This makes it easier on the listeners, as they
can assume that extension notifications other than EXTENSION_UNINSTALLED
are sent for currently-installed extensions.
BUG=54415
TEST=BackgroundModeManagerTest
Review URL: http://codereview.chromium.org/3461025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension.h')
-rw-r--r-- | chrome/common/extensions/extension.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h index 79f9156..4ea052a 100644 --- a/chrome/common/extensions/extension.h +++ b/chrome/common/extensions/extension.h @@ -610,4 +610,13 @@ struct ExtensionInfo { DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); }; +// Struct used for the details of the EXTENSION_UNINSTALLED +// notification. +struct UninstalledExtensionInfo { + explicit UninstalledExtensionInfo(const Extension& extension); + + std::string extension_id; + std::vector<std::string> extension_api_permissions; +}; + #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |