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

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: fixes addressing #2 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..338a7886c4eee71521ab16a7ca981b3f31432b3f 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 15:23:54 Remove this too
binjin 2014/09/18 15:49:05 Done.
// 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.
Joao da Silva 2014/09/18 15:23:54 And this
binjin 2014/09/18 15:49:05 Done.
// 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,6 +49,11 @@ 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[];
+
// A whitelist of extension ids the user can install: exceptions from the
// following blacklist.
extern const char kInstallAllowList[];

Powered by Google App Engine
This is Rietveld 408576698