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

Unified Diff: components/policy/tools/template_writers/writers/plist_strings_writer.py

Issue 2653823006: Include 'external' policies in grit output (admx, adm, doc etc.) (Closed)
Patch Set: Whitespace fix Created 3 years, 3 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: components/policy/tools/template_writers/writers/plist_strings_writer.py
diff --git a/components/policy/tools/template_writers/writers/plist_strings_writer.py b/components/policy/tools/template_writers/writers/plist_strings_writer.py
index 45cfdb7b70605c48fd1dbecc22371caafb5babbf..49344686d06dd642aba32b2620cd34e84d20d6a3 100755
--- a/components/policy/tools/template_writers/writers/plist_strings_writer.py
+++ b/components/policy/tools/template_writers/writers/plist_strings_writer.py
@@ -52,10 +52,7 @@ class PListStringsWriter(template_writer.TemplateWriter):
string table.
'''
desc = policy['desc']
- if policy['type'] == 'external':
- # This type can only be set through cloud policy.
- return
- elif policy['type'] in ('int-enum','string-enum', 'string-enum-list'):
+ if policy['type'] in ('int-enum','string-enum', 'string-enum-list'):
# Append the captions of enum items to the description string.
item_descs = []
for item in policy['items']:

Powered by Google App Engine
This is Rietveld 408576698