summaryrefslogtreecommitdiffstats
path: root/components/policy.gypi
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 14:52:22 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 14:52:22 +0000
commitcb7dc11a3b170650c4a0e054be38c7739caa8f88 (patch)
treee2eb0cc9048065d5e1ef75ee31b077832fd50171 /components/policy.gypi
parent8d01f640208ff07115140f592ad1cf6de360cf0c (diff)
downloadchromium_src-cb7dc11a3b170650c4a0e054be38c7739caa8f88.zip
chromium_src-cb7dc11a3b170650c4a0e054be38c7739caa8f88.tar.gz
chromium_src-cb7dc11a3b170650c4a0e054be38c7739caa8f88.tar.bz2
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
Diffstat (limited to 'components/policy.gypi')
-rw-r--r--components/policy.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/policy.gypi b/components/policy.gypi
index 32aed7e..cadd308 100644
--- a/components/policy.gypi
+++ b/components/policy.gypi
@@ -20,6 +20,7 @@
'conditions': [
['configuration_policy==1', {
'sources': [
+ 'policy/core/common/policy_details.h',
'policy/core/common/policy_namespace.cc',
'policy/core/common/policy_namespace.h',
'policy/core/common/policy_pref_names.cc',