summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension.h
diff options
context:
space:
mode:
authortmdiep@chromium.org <tmdiep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-06 06:26:28 +0000
committertmdiep@chromium.org <tmdiep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-06 06:26:28 +0000
commit8f959f52d735203ca0efc2776b094ceed33b754f (patch)
tree58ea66f19dd96b2790c3a273b503233b8252eb16 /extensions/common/extension.h
parent3687b2f8321ad2ddfc0dfbf51547fbdcc53491ad (diff)
downloadchromium_src-8f959f52d735203ca0efc2776b094ceed33b754f.zip
chromium_src-8f959f52d735203ca0efc2776b094ceed33b754f.tar.gz
chromium_src-8f959f52d735203ca0efc2776b094ceed33b754f.tar.bz2
Disable ephemeral apps after they stop running
Ephemeral apps are unloaded and disabled after they stop running to ensure that they have no background activity while they are cached. The event router, message service and message center no longer need special handling for idle ephemeral apps. BUG=339001,358052 TEST=browser_tests TBR=dewittj@chromium.org (for removal of code in message_center_settings_controller.cc) Review URL: https://codereview.chromium.org/344543006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r--extensions/common/extension.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 64241d2..a429d59 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -96,7 +96,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
DISABLE_GREYLIST = 1 << 9,
DISABLE_CORRUPTED = 1 << 10,
DISABLE_REMOTE_INSTALL = 1 << 11,
- DISABLE_REASON_LAST = 1 << 12, // This should always be the last value
+ DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12, // Cached ephemeral apps are
+ // disabled to prevent activity.
+ DISABLE_REASON_LAST = 1 << 13, // This should always be the last value
};
// A base class for parsed manifest data that APIs want to store on