|
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239520
Total comments: 2
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+341 lines, -384 lines) |
Patch |
|
M |
chrome/browser/extensions/api/storage/managed_value_store_cache.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/configuration_policy_provider_test.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
components/policy/core/common/configuration_policy_provider_test.cc
|
View
|
1
2
|
2 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/policy_loader_win.h
|
View
|
1
2
3
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/policy_loader_win.cc
|
View
|
1
2
3
|
9 chunks |
+67 lines, -67 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/policy_loader_win_unittest.cc
|
View
|
1
2
3
|
15 chunks |
+137 lines, -169 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/registry_dict_win.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/registry_dict_win.cc
|
View
|
1
2
3
|
8 chunks |
+57 lines, -108 lines |
0 comments
|
Download
|
|
M |
components/policy/core/common/registry_dict_win_unittest.cc
|
View
|
1
2
|
4 chunks |
+45 lines, -15 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|