|
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234515
Total comments: 58
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+531 lines, -483 lines) |
Patch |
|
M |
chrome/browser/chromeos/policy/cloud_external_data_manager_base.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc
|
View
|
1
|
8 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/device_local_account_external_data_manager.h
|
View
|
1
2
3
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/device_local_account_external_data_manager.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/device_local_account_external_data_service.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/user_cloud_external_data_manager.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/user_cloud_external_data_manager.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/browser_policy_connector.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud/cloud_policy_browsertest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud/cloud_policy_manager_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/config_dir_policy_loader_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_handler_list.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_provider_test.h
|
View
|
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/configuration_policy_provider_test.cc
|
View
|
1
|
10 chunks |
+20 lines, -35 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/generate_policy_source_unittest.cc
|
View
|
1
|
3 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_loader_mac.h
|
View
|
1
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_loader_mac.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_loader_mac_unittest.cc
|
View
|
1
|
7 chunks |
+9 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_loader_win.h
|
View
|
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_loader_win.cc
|
View
|
1
2
3
|
5 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_loader_win_unittest.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+18 lines, -25 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_prefs_browsertest.cc
|
View
|
1
2
3
|
8 chunks |
+107 lines, -20 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_statistics_collector.h
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_statistics_collector.cc
|
View
|
1
|
3 chunks |
+16 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_statistics_collector_unittest.cc
|
View
|
1
|
8 chunks |
+43 lines, -32 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/policy_test_utils.h
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
|
D |
chrome/browser/policy/policy_test_utils.cc
|
View
|
|
1 chunk |
+0 lines, -118 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/policy/test/policy_test_utils.h
|
View
|
|
2 chunks |
+30 lines, -3 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/policy/test/policy_test_utils.cc
|
View
|
|
2 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/policy_ui.cc
|
View
|
1
2
3
|
4 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/policy_ui_browsertest.cc
|
View
|
1
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/tools/build/generate_policy_source.py
|
View
|
1
|
7 chunks |
+58 lines, -63 lines |
0 comments
|
Download
|
|
M |
components/policy.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
components/policy/core/common/policy_details.h
|
View
|
1
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|