Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: tools/grit/grit/format/policy_templates/policy_template_generator.py

Issue 2278493004: Document ARC support for Chrome policies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b338f99f5aab22b627913b14caedcdf2a54e1a8e..a0bacaf88519c8ed4f42aa39852db47a2078383f 100755
--- a/tools/grit/grit/format/policy_templates/policy_template_generator.py
+++ b/tools/grit/grit/format/policy_templates/policy_template_generator.py
@@ -116,6 +116,9 @@ class PolicyTemplateGenerator:
policy['caption'] = self._ImportMessage(policy['caption'])
if 'label' in policy:
policy['label'] = self._ImportMessage(policy['label'])
+ if 'arc_support' in policy:
+ policy['arc_support'] = self._ImportMessage(policy['arc_support'])
+
if policy['type'] == 'group':
self._ProcessPolicyList(policy['policies'])

Powered by Google App Engine
This is Rietveld 408576698