diff options
author | binjin <binjin@chromium.org> | 2014-09-22 08:17:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-22 15:17:54 +0000 |
commit | b245438121f8dba852268c0bed0359c6f31c50c6 (patch) | |
tree | 9deb54191133a416ea2c9cb41498f54fc2fd60c4 /extensions/browser/pref_names.h | |
parent | f52fe5854ece2fe8ff5093060e2274972311d083 (diff) | |
download | chromium_src-b245438121f8dba852268c0bed0359c6f31c50c6.zip chromium_src-b245438121f8dba852268c0bed0359c6f31c50c6.tar.gz chromium_src-b245438121f8dba852268c0bed0359c6f31c50c6.tar.bz2 |
Add new ExtensionManagement preference
New ExtensionManagement preference is a policy-controlled dictionary preference for management of extensions.
Current implementation covers all legacy extension management preference (installation_mode, install_sources, allowed_types).
This CL includes extension preference parsing, definition of constants strings for properties/string enums in the new dictionary value, and a test helper class for manipulating it in unit tests.
BUG=177351
Review URL: https://codereview.chromium.org/559603002
Cr-Commit-Position: refs/heads/master@{#295974}
Diffstat (limited to 'extensions/browser/pref_names.h')
-rw-r--r-- | extensions/browser/pref_names.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/browser/pref_names.h b/extensions/browser/pref_names.h index e552455..e221c35 100644 --- a/extensions/browser/pref_names.h +++ b/extensions/browser/pref_names.h @@ -47,6 +47,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[]; |