diff options
author | mlerman <mlerman@chromium.org> | 2014-11-26 14:10:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-26 22:11:48 +0000 |
commit | 6a37b6a4b4914a5e762f90b673d1711ab8df7770 (patch) | |
tree | b81f471d9736fdc43646f5df42f33ebeffee5929 /extensions/common/extension.h | |
parent | 3a333b59a1e6a4fee8f241adce935b12319662ea (diff) | |
download | chromium_src-6a37b6a4b4914a5e762f90b673d1711ab8df7770.zip chromium_src-6a37b6a4b4914a5e762f90b673d1711ab8df7770.tar.gz chromium_src-6a37b6a4b4914a5e762f90b673d1711ab8df7770.tar.bz2 |
Temporarily disable extensions and sync while a profile is locked.
Place all the heavy lifting and logic in profiles code, with extensions providing a new collection for holding "locked" extensions.
This replaces CL 697143003.
BUG=354124
Review URL: https://codereview.chromium.org/695133005
Cr-Commit-Position: refs/heads/master@{#305897}
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index 391c7e5..d845332 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -69,6 +69,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { // DEPRECATED: Special state for component extensions. // Maintained as a placeholder since states may be stored to disk. ENABLED_COMPONENT_DEPRECATED, + // Add new states here as this enum is stored in prefs. NUM_STATES }; @@ -541,6 +542,7 @@ struct UnloadedExtensionInfo { REASON_TERMINATE, // Extension has terminated. REASON_BLACKLIST, // Extension has been blacklisted. REASON_PROFILE_SHUTDOWN, // Profile is being shut down. + REASON_LOCK_ALL, // All extensions for the profile are blocked. }; Reason reason; |