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

Unified Diff: extensions/browser/pref_names.h

Issue 559603002: Add new ExtensionManagement preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase; fixes Created 6 years, 3 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/browser/pref_names.h
diff --git a/extensions/browser/pref_names.h b/extensions/browser/pref_names.h
index e552455ed2c31ba107377ea0771f190845c4e0d6..aad77ffafe9681d34d1e8119c930b4878438ae26 100644
--- a/extensions/browser/pref_names.h
+++ b/extensions/browser/pref_names.h
@@ -26,11 +26,13 @@ bool ScopeToPrefName(ExtensionPrefsScope scope, std::string* result);
// at least once for this profile.
extern const char kAlertsInitialized[];
+// DEPRECATED: use kExtensionManagement instead.
Joao da Silva 2014/09/18 12:08:22 Actually no one should read these prefs directly.
binjin 2014/09/18 14:37:27 Removed.
// The sites that are allowed to install extensions. These sites should be
// allowed to install extensions without the scary dangerous downloads bar.
// Also, when off-store-extension installs are disabled, these sites are exempt.
extern const char kAllowedInstallSites[];
+// DEPRECATED: use kExtensionManagement instead.
// A list of allowed extension types. Extensions can only be installed if their
// type is on this whitelist or alternatively on kInstallAllowList or
// kInstallForceList.
@@ -47,15 +49,23 @@ extern const char kBookmarkAppCreationLaunchType[];
// extension ids.
extern const char kExtensions[];
+// Dictionary pref that manages extensions, controlled by policy.
+// Values are expected to conform to the schema of the ExtensionManagement
+// policy.
+extern const char kExtensionManagement[];
+
+// DEPRECATED: use kExtensionManagement instead.
// A whitelist of extension ids the user can install: exceptions from the
// following blacklist.
extern const char kInstallAllowList[];
+// DEPRECATED: use kExtensionManagement instead.
// A blacklist, containing extensions the user cannot install. This list can
// contain "*" meaning all extensions. This list should not be confused with the
// extension blacklist, which is Google controlled.
extern const char kInstallDenyList[];
+// DEPRECATED: use kExtensionManagement instead.
// A list containing extensions that Chrome will silently install
// at startup time. It is a list of strings, each string contains
// an extension ID and an update URL, delimited by a semicolon.

Powered by Google App Engine
This is Rietveld 408576698