Removed the PolicyDefinitionList.

This list was generated at compile time and included policy information
extracted from the policy templates file that was useful at runtime, such as
the policy names, types, deprecation status, etc.

Most of this information is now available via the Chrome policy schema, so
this list was largely redundant.

The chrome-specific data in this list is now available in a list of
PolicyDetails, also generated at compile time and kept in sync with the Chrome
schema data.

Refactored all the remaining users of PolicyDefinitionList to use the schema
and/or PolicyDetails now. Also introduced a test helper to mock out
PolicyDetails in tests.

Cleanup: moved policy_test_utils.h to policy/test/

BUG=270667
R=bartfab@chromium.org, dubroy@chromium.org

Review URL: https://codereview.chromium.org/58313002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234515 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: cb7dc11a3b170650c4a0e054be38c7739caa8f88
1 file changed
tree: 4b64c57b681e8f0065a268eba25fb5a65dada87e
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/