I'm trying to programmatically disable password saving for Chrome, and my search has lead me to the master_preferences file. However, I can't seem to find any "master" list of every possible configuration item.
I was trying to use this policy list but it doesn't seem to match the same syntax as the aforementioned file.
Here are a couple links that I found helpful in my search:
- Configuring Other Preferences in Chromium's documentation for administrators
- Where is the Chrome settings file? (Mine seemed to be located at username/Library/Application Support/Google/Chrome/Default/Preferences)
2 Answers
The best list of Chrome preferences that I can find is in the Chromium source code:
Jay made a great post on ServerFault: How can I customize the default settings when deploying Google Chrome for Business?.
The relevant section is "Write a customized master_preferences file" (important bits quoted below, links removed since not enough rep):
Review the available distribution settings. These are properties of a
distributionobject, which is contained within the anonymous object in the master_preferences file. The following list of settings was compiled by combining two Chromium source files: master_preferences_constants.h and master_preferences_constants.cc in /trunk/src/chrome/installer/util/.Review the available non-distribution settings. These settings go outside of the
distributionobject in the JSON. They are applied to the user profile when a user runs Chrome for the first time. The full list of settings is available in the Chromium source files pref_names.h and pref_names.cc in /trunk/src/chrome/common/.