summaryrefslogtreecommitdiffstats
path: root/chrome/common/policy_constants.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a separate preference for 'proxy server mode'battre@chromium.org2010-12-231-1/+1
| | | | | | | | | | | | | The new preference is kProxyServerMode, which supersedes kProxyAutoDetect and kNoProxyServer. The point of this change is to represent 'use system proxy settings' in a more robust way. The proxy extension API is also adjusted to the preference system. This is a continuation of gfeher's patch from issue 5701003. BUG=65732, 66023 TEST=ProxyPrefsTest.*, and also covered by ExtensionApiTest.Porxy*, PrefProxyConfigServiceTest.* Review URL: http://codereview.chromium.org/6004003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70042 0039d316-1c4b-4281-b951-d872f2087c98
* (Re-landing http://codereview.chromium.org/5991003 after Chromium OSkbr@chromium.org2010-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | build fix to browser_render_process_host.cc) Added group policy for disabling all client-side 3D APIs in Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/6045003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69791 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69753 - Added group policy for disabling all client-side 3D APIs in ↵chase@chromium.org2010-12-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/6027004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69759 0039d316-1c4b-4281-b951-d872f2087c98
* Added group policy for disabling all client-side 3D APIs in Chromiumkbr@chromium.org2010-12-201-0/+1
| | | | | | | | | | | | | | | | | | | | | (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69753 0039d316-1c4b-4281-b951-d872f2087c98
* Allow default desktop content settings and default geolocation settings to ↵markusheintz@chromium.org2010-12-201-0/+2
| | | | | | | | | | | be managed via policy. (Support for the Cocoa UI will be added via a separate CL) BUG=63190,63187, 63180 TEST=none Review URL: http://codereview.chromium.org/5398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69707 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional preferences and policies to manage default-content-settings.markusheintz@chromium.org2010-11-161-0/+5
| | | | | | | | | BUG=49607 TEST=host_content_settings_map_unittest.cc Review URL: http://codereview.chromium.org/4668001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66246 0039d316-1c4b-4281-b951-d872f2087c98
* Support specifying the GSSAPI library that will be used.danno@chromium.org2010-11-121-0/+1
| | | | | | | | | | | | This preference can be set either via command-line or via group policy. BUG=53625 TEST=unittests: ConfigurationPolicyPrefStore*; net_unittests: HttpAuthHandlerNegotiateTest.*:HttpAuthGSSAPIPOSIXTest.*; manually: start Chrome with command-line switch --gssapi-library-name=XYZ and see if this results in the Chrome process loading /usr/lib/whatever/XYZ as soon as an authenticated HTTP site is encountered. Review URL: http://codereview.chromium.org/4560001 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65939 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 65535danno@chromium.org2010-11-101-0/+5
| | | | | | | | | | | | Group Policy support for HTTP authentication, already had LGTM from http://codereview.chromium.org/3517018. BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/4733003 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65664 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65535 - Group Policy support for HTTP authenticationdanno@chromium.org2010-11-091-5/+0
| | | | | | | | | | | | | BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/3517018 Patch from Jakob Kummerow <jkummerow@google.com>. TBR=danno@chromium.org Review URL: http://codereview.chromium.org/4643004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65537 0039d316-1c4b-4281-b951-d872f2087c98
* Group Policy support for HTTP authenticationdanno@chromium.org2010-11-091-0/+5
| | | | | | | | | | BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/3517018 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65535 0039d316-1c4b-4281-b951-d872f2087c98
* Add block-third-party-cookies policy.markusheintz@chromium.org2010-10-271-0/+1
| | | | | | | | | BUG=49607 TEST=none Review URL: http://codereview.chromium.org/4183001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64057 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 63509 - Define constants for the 'silent extension' install policygfeher@chromium.org2010-10-251-0/+1
| | | | | | | | | | | | This policy and preference will hold the list of extensions that should be silently installed. BUG=59782 TEST=none (real logic comes in later CLs) Review URL: http://codereview.chromium.org/4014007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63711 0039d316-1c4b-4281-b951-d872f2087c98
* Add policy to disable Developer-Tools.markusheintz@chromium.org2010-10-221-0/+1
| | | | | | | | | BUG=49600 TEST=none Review URL: http://codereview.chromium.org/3965003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63520 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63509 - Define constants for the silent extension install policygfeher@chromium.org2010-10-221-1/+0
| | | | | | | | | | | | | | | This policy and preference will hold the list of extensions that should be silently installed. BUG=59782 TEST=none (real logic comes in later CLs) TBR=jochen Review URL: http://codereview.chromium.org/3781022 TBR=gfeher@chromium.org Review URL: http://codereview.chromium.org/4035003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63512 0039d316-1c4b-4281-b951-d872f2087c98
* Define constants for the silent extension install policygfeher@chromium.org2010-10-221-0/+1
| | | | | | | | | | | This policy and preference will hold the list of extensions that should be silently installed. BUG=59782 TEST=none (real logic comes in later CLs) Review URL: http://codereview.chromium.org/3781022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63509 0039d316-1c4b-4281-b951-d872f2087c98
* Add Group-Policy to disable the SPDY protocol.mbelshe@chromium.org2010-10-161-0/+1
| | | | | | | | | BUG=59105 TEST=Configuration* Review URL: http://codereview.chromium.org/3782007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62875 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ChromeOsLockOnIdleSuspend policy for ChromeOs.xiyuan@chromium.org2010-10-141-0/+6
| | | | | | | | | | | The policy is wired with settings.enable_screen_lock. BUG=chromium-os:6546 TEST=Create a policy json file and verify the screen lock checkbox is managed in "Person stuff" options page. Review URL: http://codereview.chromium.org/3611012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62562 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the default search provider to be specified via group policy. Also ↵jeanluc@google.com2010-10-051-0/+1
| | | | | | | | | | | | | | allow group policy to specify that there is no default. Respond to at run time to changes of policy. Handle the default search becoming managed or un-managed, or having the default change while staying managed. Optimize notification of observers so that we don't repeatedly notify observers for what is one change. Change in Preferences.xib: Add defaultSearchEngineEnabled keypath to enable/disable the default search engine combobox in the Basic preference pane. BUG=49306 TEST=ConfigurationPolicyPrefStoreDefaultSearchTest.*, TemplateURLModelTest.*, KeywordEditorControllerTest*, SearchProviderInstall*, ConfigDirPolicyProviderValueTestInstance*, ConfigurationPolicyProvider* Review URL: http://codereview.chromium.org/3402023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61588 0039d316-1c4b-4281-b951-d872f2087c98
* Policy support for being able to specify a list of content types that Chrome ↵tommi@chromium.org2010-10-041-1/+1
| | | | | | | | | | | Frame should handle. TEST=This adds a new policy list for Chrome Frame, "ChromeFrameContentTypes", which can be used to specify a list of content types that should always be rendered in Chrome Frame. BUG=56543 Review URL: http://codereview.chromium.org/3611002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61432 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling browsing history.phajdan.jr@chromium.org2010-10-011-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3432033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61169 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling JavaScript.phajdan.jr@chromium.org2010-09-231-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3395011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60288 0039d316-1c4b-4281-b951-d872f2087c98
* Add constants for preferences and policies related to the Default Search ↵jeanluc@google.com2010-09-131-0/+6
| | | | | | | | | | | Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3374004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59270 0039d316-1c4b-4281-b951-d872f2087c98
* Add policy support for Chrome Frame. New Chrome Frame messages added to th ↵tommi@chromium.org2010-09-101-0/+5
| | | | | | | | | | | | | | json and grd files that are used to generate the policy templates. Added matching constants for the policy elements to the policy_constants files. Added support for a new template value, $3, that represents the Chrome Frame product name in policy templates. TEST=none BUG=29349 Review URL: http://codereview.chromium.org/3325011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59050 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59020 - Add constants for preferences and policies related to the ↵thestig@chromium.org2010-09-101-6/+0
| | | | | | | | | | | | | | Default Search Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3359012 TBR=jeanluc@google.com Review URL: http://codereview.chromium.org/3357026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59040 0039d316-1c4b-4281-b951-d872f2087c98
* Add constants for preferences and policies related to the Default Search ↵jeanluc@google.com2010-09-091-0/+6
| | | | | | | | | | | Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3359012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59020 0039d316-1c4b-4281-b951-d872f2087c98
* Constants for the disable printing policygfeher@chromium.org2010-09-091-0/+1
| | | | | | | | | | | Define constants for policy kPrintingEnabled and its corresponding preference. BUG=54380 TEST=none Review URL: http://codereview.chromium.org/3292015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58939 0039d316-1c4b-4281-b951-d872f2087c98
* Add policy to control 'show password' facility in the password manager.mnissler@chromium.org2010-09-071-0/+1
| | | | | | | | | BUG=49609 TEST=Manual Review URL: http://codereview.chromium.org/3299010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58692 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58630 - Add constants for preferences and policies related to the ↵mnissler@chromium.org2010-09-061-6/+0
| | | | | | | | | | | | | | | Default Search Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3363005 Patch from Jean-Luc Brouillet <jeanluc@google.com>. TBR=mnissler@chromium.org Review URL: http://codereview.chromium.org/3307012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58637 0039d316-1c4b-4281-b951-d872f2087c98
* Add constants for preferences and policies related to the Default Search ↵mnissler@chromium.org2010-09-061-0/+6
| | | | | | | | | | | | Provider. Add code to read these new policies into prefs. Add code to enable monitoring change to these preferences. BUG=49306 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3363005 Patch from Jean-Luc Brouillet <jeanluc@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58630 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the policy to disable plugins to support TYPE_LIST valuesdanno@chromium.org2010-08-281-1/+1
| | | | | | | | | BUG=51897 TEST=ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3133012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57794 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a policy to specify which pages to restore at startup. The admin ↵mnissler@chromium.org2010-08-261-0/+2
| | | | | | | | | | | | | | can choose no restore, last opened windows, or specific pages to be opened. xib changes: Added an enabled binding to the policy-controlled "Restore on Startup" radiobox group in the "Basic" preference pane. They can be disabled when their value is overridden by policy. The methods for the bindings are in the preference window controller. BUG=49297 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Manual tests: Set the policies externally. Check that appropriate restore action is done at startup. Check that the Restore on Startup buttons are disabled. Review URL: http://codereview.chromium.org/3115021 Patch from Jean-Luc Brouillet <jeanluc@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57513 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for disabling auto fill.mnissler@chromium.org2010-08-251-0/+1
| | | | | | | | | | | | | | | | | | This introduces a new policy setting named AutoFillEnabled that administrators can use to switch off the auto fill feature. The UI adjustments disable the autofill button and dialog in the preferences dialog appropriate. Preferences.xib change: Bind enabled state of the auto fill button to autoFillSettingsButtonEnabled @property. AutoFillDialog.xib change: Bind enabled state of the auto fill enabled checkbox and save button to the autoFillEnabledAvailable and saveEnabled @properties, respectively. BUG=49611 TEST=autofill_dialog_controller_mac_unittest.mm, manual testing Review URL: http://codereview.chromium.org/3140024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57302 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for controlling "Show Home Button" preference.mnissler@chromium.org2010-08-241-0/+1
| | | | | | | | | | | Preferences.xib changes: Connect the Enabled pin of the "Show home button" checkbox to PreferencesWindowController's showHomeButtonEnabled @property. BUG=49603 TEST=manual Review URL: http://codereview.chromium.org/3171022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57167 0039d316-1c4b-4281-b951-d872f2087c98
* Implement admin control (by policy) over which extensions the user can ↵finnur@chromium.org2010-08-111-0/+2
| | | | | | | | | | | | | | | | | | install and run. Currently we intercept in two locations: 1) When the user tries to install an extension (includes error message). 2) Every time the browser starts up and the currently installed extensions are loaded (silently skips the extension). I implemented a whitelist and a blacklist approach, calling it a allow/deny list to not clash with the global blacklist we have for extensions. A blacklist of '*' means all extensions are blacklisted. If an extension is on the blacklist it cannot be installed/loaded, unless it also appears on the whitelist. I also fleshed out the LIST_TYPE support for policy values, so that we don't have to use comma separated REG_SZ values for lists and can instead use ADM support for listboxes. BUG=47085 TEST=ExtensionsServiceTest.BlacklistedByPolicyWillNotInstall, ConfigurationPolicyProviderWinTest.TestExtensionInstall* Review URL: http://codereview.chromium.org/3014053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55727 0039d316-1c4b-4281-b951-d872f2087c98
* Don't initialize the crash reporter on windows if disabled by configuration ↵mnissler@chromium.org2010-08-021-0/+41
management. BUG=49662 TEST=No crash reports get submitted if policy doesn't allow it. Review URL: http://codereview.chromium.org/3033030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54525 0039d316-1c4b-4281-b951-d872f2087c98