| Index: chrome/common/extensions/extension.h
|
| diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
|
| index 28b005e2e00ec479bddc225916e6b5ee9ac70f0f..9a5d575ec818724084b87f29f534b83f3ba8a07e 100644
|
| --- a/chrome/common/extensions/extension.h
|
| +++ b/chrome/common/extensions/extension.h
|
| @@ -87,6 +87,15 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
|
| NUM_STATES
|
| };
|
|
|
| + // Used to record the reason an extension was disabled.
|
| + enum DisableReason {
|
| + DISABLE_UNKNOWN,
|
| + DISABLE_USER_ACTION,
|
| + DISABLE_PERMISSIONS_INCREASE,
|
| + DISABLE_RELOAD,
|
| + DISABLE_LAST, // Not used.
|
| + };
|
| +
|
| enum InstallType {
|
| INSTALL_ERROR,
|
| DOWNGRADE,
|
|
|