summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authorrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-09 18:43:27 +0000
committerrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-09 18:43:27 +0000
commit4c965c3f5b22af171ce0ade8199d9c37090a96a2 (patch)
tree0ae0c9c77e3dc5274317890fb8edfe456554ff36 /extensions/common/extension.h
parentcc3657daec5b4ff7d282d9193d298974848f208f (diff)
downloadchromium_src-4c965c3f5b22af171ce0ade8199d9c37090a96a2.zip
chromium_src-4c965c3f5b22af171ce0ade8199d9c37090a96a2.tar.gz
chromium_src-4c965c3f5b22af171ce0ade8199d9c37090a96a2.tar.bz2
Revert 269343 "Unload all apps / extensions immediately when del..."
Tentatively reverting to see if it fixes the browser_tests ShutdownStartupCycle failure. > Unload all apps / extensions immediately when deleting a profile. > > Previously apps could remain running with references to profiles that had been deleted by users, but before the browser shut down and profiles were fully removed. Problems included E.g. opening a link in an app would open a tab in the deleted profile. > > BUG=368684 > TEST=Manual testing as described on http://crbug.com/368684#c1 > > Review URL: https://codereview.chromium.org/266343002 TBR=scheib@chromium.org Review URL: https://codereview.chromium.org/278093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 0d01dd2..10df63c 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -514,13 +514,11 @@ struct InstalledExtensionInfo {
struct UnloadedExtensionInfo {
// TODO(DHNishi): Move this enum to ExtensionRegistryObserver.
enum Reason {
- REASON_UNDEFINED, // Undefined state used to initialize variables.
- REASON_DISABLE, // Extension is being disabled.
- REASON_UPDATE, // Extension is being updated to a newer version.
- REASON_UNINSTALL, // Extension is being uninstalled.
- REASON_TERMINATE, // Extension has terminated.
- REASON_BLACKLIST, // Extension has been blacklisted.
- REASON_PROFILE_SHUTDOWN, // Profile is being shut down.
+ REASON_DISABLE, // Extension is being disabled.
+ REASON_UPDATE, // Extension is being updated to a newer version.
+ REASON_UNINSTALL, // Extension is being uninstalled.
+ REASON_TERMINATE, // Extension has terminated.
+ REASON_BLACKLIST, // Extension has been blacklisted.
};
Reason reason;