Use schemas bundled in extensions to convert policies loaded on Windows.

Extensions that support policies must declare those policies in a JSON
schema. All the policy providers get a mapping from components to their
schemas. This change makes the Windows policy provider use those schemas
when loading policies from GPO or the registry.

The previous behavior was to load the schema from GPO/the registry too;
this behavior is still used if the extension doesn't include a schema,
to support the Legacy Browser Support extension for the next releases.

BUG=108994, 108992

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

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


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