Index: chrome/common/extensions/extension_constants.h |
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h |
index 5c980e0f214001aa5fce77d46da3814b0d57654c..983e0b716c22a08c7bb9bc8851ad25391a0a26cb 100644 |
--- a/chrome/common/extensions/extension_constants.h |
+++ b/chrome/common/extensions/extension_constants.h |
@@ -410,6 +410,12 @@ namespace extension_misc { |
INSTALL_CAUSE_AUTOMATION, |
NUM_INSTALL_CAUSES |
}; |
+ |
+ enum UnloadedExtensionReason { |
+ UNLOAD_REASON_DISABLE, // Extension is being disabled. |
+ UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
+ UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
+ }; |
} // extension_misc |
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |