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

Unified Diff: tools/grit/grit/format/policy_templates/writers/doc_writer.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/writers/doc_writer.py
diff --git a/tools/grit/grit/format/policy_templates/writers/doc_writer.py b/tools/grit/grit/format/policy_templates/writers/doc_writer.py
index e167d90b7613aab46fbb1f6fa5ee27e2636fb4f5..d5eedda201dee18c7758be49d6a66d23cbc6b5c3 100755
--- a/tools/grit/grit/format/policy_templates/writers/doc_writer.py
+++ b/tools/grit/grit/format/policy_templates/writers/doc_writer.py
@@ -538,6 +538,9 @@ class DocWriter(xml_formatted_writer.XMLFormattedWriter):
self._AddFeatures(dd, policy)
dd = self._AddPolicyAttribute(dl, 'description')
self._AddDescription(dd, policy)
+ if 'arc_support' in policy:
+ dd = self._AddPolicyAttribute(dl, 'arc_support')
+ self._AddParagraphs(dd, policy['arc_support'])
if (self.IsPolicySupportedOnPlatform(policy, 'win') or
self.IsPolicySupportedOnPlatform(policy, 'linux') or
self.IsPolicySupportedOnPlatform(policy, 'android') or

Powered by Google App Engine
This is Rietveld 408576698