summaryrefslogtreecommitdiffstats
path: root/chrome/common/policy_constants.h
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 08:32:55 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 08:32:55 +0000
commit0f403b49c078588b57ba52d11e256850349ef5fc (patch)
treea2c8b436bfd59a64e08527211077f7aeaad7a06a /chrome/common/policy_constants.h
parentd71c0d83f0e893de9b4ef707dcaaf3b766816122 (diff)
downloadchromium_src-0f403b49c078588b57ba52d11e256850349ef5fc.zip
chromium_src-0f403b49c078588b57ba52d11e256850349ef5fc.tar.gz
chromium_src-0f403b49c078588b57ba52d11e256850349ef5fc.tar.bz2
Implement policy for disabling auto fill.
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
Diffstat (limited to 'chrome/common/policy_constants.h')
-rw-r--r--chrome/common/policy_constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/policy_constants.h b/chrome/common/policy_constants.h
index df533d5..b00dac2 100644
--- a/chrome/common/policy_constants.h
+++ b/chrome/common/policy_constants.h
@@ -30,6 +30,7 @@ extern const char kDnsPrefetchingEnabled[];
extern const char kSafeBrowsingEnabled[];
extern const char kMetricsReportingEnabled[];
extern const char kPasswordManagerEnabled[];
+extern const char kAutoFillEnabled[];
extern const char kDisabledPluginsList[];
extern const char kApplicationLocaleValue[];
extern const char kSyncDisabled[];