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

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: Rebase 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 391c7e521a658f4dd27589fb057afa3ee00380ca..d8453329f5627fb51064a4053042979f2bcdcb15 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;

Powered by Google App Engine
This is Rietveld 408576698