Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: extensions/common/extension.h

Issue 344543006: Disable ephemeral apps after they stop running (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prevent demotion of installed app due to race condition Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 933c47ce09d8cba6259a7468206621793c6cc55d..46b124e4334ddf35da04414418544604e0889bee 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -98,7 +98,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// the install.
DISABLE_GREYLIST = 1 << 9,
DISABLE_CORRUPTED = 1 << 10,
- DISABLE_REMOTE_INSTALL = 1 << 11
+ DISABLE_REMOTE_INSTALL = 1 << 11,
+ DISABLE_INACTIVE_EPHEMERAL_APP = 1 << 12 // Cached ephemeral apps are
+ // disabled to prevent activity.
};
enum InstallType {
« chrome/browser/extensions/extension_service.cc ('K') | « extensions/browser/event_router.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698