| Index: tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| diff --git a/tools/grit/grit/format/policy_templates/policy_template_generator.py b/tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| index cce01164848cfc96cee6c7e2fb3b8aaa15c6881e..c80bd646e238d33f35823bf745bfa6e131ff0452 100644
|
| --- a/tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| +++ b/tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| @@ -129,7 +129,7 @@ class PolicyTemplateGenerator:
|
| policy['supported_on'])
|
| if policy['type'] == 'group':
|
| self._ProcessPolicyList(policy['policies'])
|
| - elif policy['type'] == 'enum':
|
| + elif policy['type'] in ('string-enum', 'int-enum'):
|
| # Iterate through all the items of an enum-type policy, and add captions.
|
| for item in policy['items']:
|
| self._AddMessageToItem('ENUM_' + item['name'], item, 'caption')
|
|
|