summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authorDHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-18 20:05:36 +0000
committerDHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-18 20:05:36 +0000
commite51232f33e8da9f28597e6a3be5a9263b520a29c (patch)
tree7ae7741284f9e12643555e49ebf300400f4b44f2 /extensions/common/extension.h
parentdbc165c3cc074c0f05e6789afa3f66632da045c4 (diff)
downloadchromium_src-e51232f33e8da9f28597e6a3be5a9263b520a29c.zip
chromium_src-e51232f33e8da9f28597e6a3be5a9263b520a29c.tar.gz
chromium_src-e51232f33e8da9f28597e6a3be5a9263b520a29c.tar.bz2
Pass Reason as a parameter with OnExtensionUnloaded.
BUG=354046 Review URL: https://codereview.chromium.org/222903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index c7b8458..3354fa6 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -511,6 +511,7 @@ struct InstalledExtensionInfo {
};
struct UnloadedExtensionInfo {
+ // TODO(DHNishi): Move this enum to ExtensionRegistryObserver.
enum Reason {
REASON_DISABLE, // Extension is being disabled.
REASON_UPDATE, // Extension is being updated to a newer version.