diff options
author | danno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 13:26:11 +0000 |
---|---|---|
committer | danno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-23 13:26:11 +0000 |
commit | 02e2a3d61ac16d8a7714ab7e69821ce89ea00279 (patch) | |
tree | dd65bb307cba3d7bb81f10f7714771b848484aae /chrome/common/chrome_paths.h | |
parent | 1fa86e8aac26e708376d52f5dcb23a5d7ab8dd73 (diff) | |
download | chromium_src-02e2a3d61ac16d8a7714ab7e69821ce89ea00279.zip chromium_src-02e2a3d61ac16d8a7714ab7e69821ce89ea00279.tar.gz chromium_src-02e2a3d61ac16d8a7714ab7e69821ce89ea00279.tar.bz2 |
Enable policy support on the Linux platform.
On the Linux platform policies are read from a configuration file directory. Depending whether the chromium build is branded or not the configuration file directory is:
/etc/opt/chromium or
/etc/opt/chrome
The configuration file directory will contain two sub-subdirectories: policies/managed
policies/recommended
The sub-directory policies/managed will contain all managed policies that are enforced on the user.
The sub-directory policies/recommended will contain policies for recommended setting that can be changed by a user.
BUG=47278
TEST=manual
Review URL: http://codereview.chromium.org/2854005
Patch from Markus Heintz <markusheintz@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50589 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.h')
-rw-r--r-- | chrome/common/chrome_paths.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths.h b/chrome/common/chrome_paths.h index 258123d..3e3a8ec 100644 --- a/chrome/common/chrome_paths.h +++ b/chrome/common/chrome_paths.h @@ -36,6 +36,12 @@ enum { // be moved into the profile, to avoid issues // moving across volumes. See crbug.com/13044 . DIR_INTERNAL_PLUGINS, // Directory where internal plugins reside. +#if !defined(OS_MACOSX) && defined(OS_POSIX) + DIR_POLICY_FILES, // Directory for system-wide read-only + // policy files that allow sys-admins + // to set policies for chrome. This directory + // contains subdirectories. +#endif FILE_RESOURCE_MODULE, // Full path and filename of the module that // contains embedded resources (version, // strings, images, etc.). |