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

Unified Diff: extensions/common/extension.h

Issue 695133005: Temporarily disable extensions and sync while a profile is locked - Profiles Approach (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compiling is awesome Created 6 years, 1 month 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 4c76478b50de4fb8371c0ba542fa7e5953ef3e3a..f4e62b1b1d2c066b2c35a11c3e5ad5b7f93b109f 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -63,6 +63,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
enum State {
DISABLED = 0,
ENABLED,
+ BLOCKED,
not at google - send to devlin 2014/11/17 17:04:20 We should keep this in order since it's stored in
Mike Lerman 2014/11/19 14:54:34 I'll remove this state since I'm also removing IsE
// An external extension that the user uninstalled. We should not reinstall
// such extensions on startup.
EXTERNAL_EXTENSION_UNINSTALLED,
@@ -539,6 +540,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;

Powered by Google App Engine
This is Rietveld 408576698